News for hackers. Stuff that matters.

alayne

Re:Charlie Munger has died on Tuesday November 28, 2023 @04:34PM (#38451617)
the bad ones are in Santa Barbara
It's stylized as "LOGO" in Papert's 1981 book Mindstorms and in papers written by Papert in the 1970s.
Re:Python dicts are now ordered on Friday February 07, 2020 @12:26PM (#22268365)
Other languages don't generally have special order guarantees about standard maps. This seems very idiosyncratic.
Re:Python dicts are now ordered on Friday February 07, 2020 @12:22PM (#22268319)
This isn't a sorted dictionary, it's an insertion order dictionary.
Re:Python dicts are now ordered on Friday February 07, 2020 @12:21PM (#22268300)
I use OrderedDict in code that generates JSON records so the key orders are preserved to help human readability. LRU caches are another use case.
Re:NSA's Backdoor Key from Lotus Notes (2002) on Sunday December 22, 2019 @11:01PM (#21861403)
As mentioned in The Friendly Orange Glow, it was started by people who worked on the PLATO system at the University of Illinois which added its Notes discussion system in 1973. PLATO ran until 2015.
Do you think you might have a conflict of interest here?
Re:Write tests. Not too many. Mostly integration (2017) on Thursday January 31, 2019 @04:52PM (#19049270)
What is your stack? I feel like you are doing something odd if total build times are a bottleneck on development.
Re:Lombok makes Java cool again on Thursday January 31, 2019 @04:41PM (#19049155)
Checked exceptions don't work right with streams/functional programming. They prevent abstractions that couldn't possibly be aware of custom checked exceptions. That's why Scala doesn't have them.
Re:Reasons Python Sucks on Tuesday December 18, 2018 @12:46PM (#18708653)
It was though

https://www.artima.com/intv/pyscale.html

"So I never intended Python to be the primary language for programmers, although it has become the primary language for many Python users. It was intended to be a second language for people who were already experienced programmers, as some of the early design choices reflect. On the other hand, intuitively I probably stuck to many of ABC's design principles. Because although I had my criticisms of ABC, I borrowed many of its valuable elements, which eventually made Python a great language for people who aren't ace programmers or who are just learning. We now have a large community of people using Python as an educational language, teaching Python in schools. These people aren't and may never be professional programmers, but they still find some programming skills useful." -GvR

Re:The Student Loan Debt Crisis Is About to Get Worse on Wednesday October 17, 2018 @01:04PM (#18241076)
They aren't making a profit if that money is going to wages.
Re:IQ Matters Less Than You Think on Thursday October 04, 2018 @12:43PM (#18141491)
Not only is HN full of smart people, people with high IQs are likely drawn to articles about high IQs.
That comment was about the number of women who had won. Strickland is the third woman to win.
Re:Poor mental health at work 'widespread' on Tuesday September 11, 2018 @02:02AM (#17957478)
Yes and I don't accept Y Combinator's word as empirical science either.
Re:Poor mental health at work 'widespread' on Tuesday September 11, 2018 @01:57AM (#17957464)
I'm extremely sympathetic to mental health issues, but this article is based on a survey by a mental health charity. This is junk science.
Re:Path to 2 nm May Not Be Worth It on Monday August 27, 2018 @12:37PM (#17852477)
Have you seen the previous fad? Data centers full of idle servers.
The O(1) amortized access of a hash table is for the number of entries, not key hashing or comparison. Doubling the number of entries does not double the retrieval time.

As a hash table gets larger, the cost of key hashing (for the same domain of keys) does not increase. Of course hashing and comparison performance can still be important, it's just not what is generally being analyzed with basic complexity theory.

Re:Python startup time: milliseconds matter on Wednesday May 02, 2018 @05:37PM (#16981369)
The linked post is about Python startup being a problem with thousands of invocations. Is Python startup really a problem for the niches you mention, or is it a problem in some extreme edge cases? I would argue this is the latter and perhaps signals that an architecture change for the build or tests would be best.

I have been using Python for small scripts for 20+ years and haven't had this issue. The JVM on the other hand was historically slow to start.

You're just asserting that though. There was a study done on the removal of two of the racist/hate subreddits on reddit that indicated a positive affect.

"In this paper, we studied the 2015 ban of two hate communities on Reddit, r/fatpeoplehate and r/CoonTown. Looking at the causal effects of the ban on both participating users and affected communities, we found that the ban served a number of useful purposes for Reddit. Users participating in the banned subreddits either left the site or (for those who remained) dramatically reduced their hate speech usage. Communities that inherited the displaced activity of these users did not suffer from an increase in hate speech. While the philosophical issues surrounding moderation (and banning specifically) are complex, the present work seeks to inform the discussion with results on the efficacy of banning deviant hate groups from internet platforms."

http://comp.social.gatech.edu/papers/cscw18-chand-hate.pdf

Re:The Role of Luck in Life Success on Friday March 02, 2018 @01:50PM (#16504524)
Ignoring these external factors isn't going to make them go away and studying them could lead to ideas about removing bias and having more meritocratic systems.
Re:Principles of Chaos Engineering on Monday January 29, 2018 @03:29PM (#16260388)
Netflix developed new software architectures to support its products. It's more rocket science than most of what people work on in the industry.
Re:Germany bans children's smartwatches on Friday November 17, 2017 @12:22PM (#15723912)
Do have you have a reason for that?
Re:BeOS almost made Apple a different company (2015) on Monday September 04, 2017 @03:08AM (#15166312)
I don't think so. There are numerous counterexamples like PostScript, ECMAScript, and JavaScript. Those are trademarks, not regular proper nouns.
Re:San Francisco hits 106 degrees, breaking record on Saturday September 02, 2017 @12:15AM (#15154218)
If it were me I'd seriously consider staying in a hotel for a day or two. Hope you are okay.
Do they? Good grades indicate grit in getting good grades. The question is whether that translates to other areas of life.
Re:List of Printers Which Do or Do Not Display Tracking Dots on Wednesday June 07, 2017 @03:41PM (#14509302)
privacy / trade laws / 14th amendment equal protection / due process

It definitely does not feel right that some non government entity is deciding to encoding personally identifying information about you without public oversight.

He doesn't do warmups for JITted languages.

Older »