skysight-inc/HackerNews huggingface dataset:
> In theory but in theory any application could crash at an unexpected time

That’s a terribly unsatisfactory answer.

> In my experience on a half decent code base these sanity checks never trigger during production in normal code; they're designed to get triggered during tests. They're there to make it easy to track down the root cause of bugs.

There are a lot of conditionals attached to your statement. ;)

> The times when they did get triggered on production code I did it intentionally as a way to debug a train-wreck of an application in production.

If you hadnt relied on type checking in your runtime then you might not have needed to get to the stage where you were debugging something in production.

> I've been doing this for 10 years - on many projects that have had millions of users. You're not special.

I didn’t say I was special. I was just making a point that I have used Python on important services just in case I was coming off as a Python hater.

Btw ive Been doing this for 30 years - though most of that hasn’t been in Python but most of the last 20 years has been high availability systems. Which may explain why I’m less willing to push buggy code to production and rely on exceptions than you.
> and sends it 1500b at a time

sendmmsg (or the upcoming io_uring) let you send multiple UDP packets with a single syscall.
Not only that, but the price was something like 0.4% in NYC.
> pycharm also uses the type hints that are PART OF THE LANGUAGE (aka pythonic) as of python 3.x and enforces them.

Just goes to show you how incredibly messy the transition from 2 to 3 really is. Duck typing and typing hinting are two fundamentally different approaches of doing the same thing that rub against one another. That's one more thing adding onto the long list of things that make it a pain in the ass to migrate from python2 to python3.
Which is a Clojure problem, Java doesn't suffer from it.

https://blog.ndk.io/jvm-slow-startup.html
Ask HN: Why do many sites ask for recording permissions on Android?
I was reading a story on CNN earlier today (from an HN) link. While reading, after scrolling through part of the story, I was prompted with an Android permissions dialogue asking for access to the device's microphone. This has become a common experience for me when browsing on mobile, but not on desktop browsers. What is going on on these pages such that they are asking for permission to record audio?

Here is the story I mentioned, though it is not unique in any way I can discern. https://edition.cnn.com/2019/01/10/business/costco-kirkland-signature-brand/index.html
Sorry, what?

I agree that we shouldn’t have unquestioning faith in anything anyone says. However, that doesn’t mean we also need to assign equal weight to everyone’s ideas. If someone has relevant expertise—-and being the lead author of a professional organization’s guidelines is surely relevant here—it doesn’t seem bonkers to give their persepective a bit more weight.

Mentioning actual research would be better, of course. I would bet dollars to donuts that the next bit of the author’s conversation with him was “For example, in our 2005 APAM paper, we found that....” However, the newspaper article’s author probably doesn’t want to go on a long tangent trying to meta-analyze the existing research, all to make a point that’s incidental to the article’s thesis. In that context, a quote from an expert seems totally reasonable.
so annoying that i have to register to download the pdf. ugh.
> I wish people could be honest with their motivations, instead of making up excuses to justify this sort of change

Why do you assume motivations other than what the author claims? I very much started on Python, but as my career progressed, I got tired of being frustrated with poor library documentation and having no static types, making it extremely difficult to figure out even the parameter types to pass in, especially after it's been a while.

After switching to static typing, things have been a lot less brittle and even faster to develop. It is often said that Python is fast to develop in, but this is really only true for prototyping. Making a program and making a robust python program are entirely different, whereas they're much less separate in a statically typed language.

Also, statically typed does not imply FactoryFactory or no type inference, especially for languages like Rust, Swift and to a certain extent Go as well. The code written in Rust, Swift etc. could often be as elegant & short as one in Python, without loosing the benefits of static typing.
https://en.wikipedia.org/wiki/Heyoka
Given how hard it can be to get a legitimate invoice paid, this is frustrating to hear.
Amazon seems to be more interested in creating more "sleeper" brands than adding products to AmazonBasics. All these are Amazon private label: https://www.amazon.com/b?ie=UTF8&node=17602470011
Morals? Karma? Guilt? The desire to do something meaningful? The risk of getting caught?

He did get arrested after all.
Any radical voice that made the news, in any light, has gotten a larger following. Every single time a moderate brings a radical to debate it is a net gain for the radical.

You literally don't believe in democracy. Not that you are obliged to, but it's interesting if you realize it?
What’s your specific complaint? That someone is picking up other languages? That they are writing about them? I use Python as my primary language too, but I don’t see anything objectionable about these things...
I once had a manual that I enjoyed driving, but now I have an automatic with smart cruise control, and I don't ever want to give up that feature.
Setting the background to the solarized dark or light color pallet works nicely with the same vim pallet setup. I wanted to use this as an example because I don't believe this worked in Terminal last time I tried it. But after a quick google search it seems like you can use Terminal for this setup as well.

Clicking on links in the terminal is a nice feature. If you press cmd + click it opens your browser or finder. I occasionally enjoy this convenience.

There are probably other conveniences that don't come to mind now.
Then it doesn't seem fair to blanket blame FF on macOS. A few more details would go a long way to legitimize the complaint.
I feel exactly the same way with all the Rubyists moving to Elixir.
I’m surprised he went with 100M+ amounts. At that large numbers, you have to be sure that you are gonna get caught.

Why not settle for smaller change and call t quits?
> 56% larger than those created by ImageOptim!

And noticeably degraded if you compare those images with the originals. Optimage does apply chroma subsampling, the major winner here, when it makes sense.

My goal is automatic image optimization with predictable visual quality, i.e. images have to remain authentic to originals.

> your closed source tool

FYI, ImageOptim API is closed source and way more expensive if that was your point.

> Your benchmark is not a legitimate comparison

If you have a better one,

> then post the results

I did post mine. Just why are you taking them out of context and missing others, e.g. lossless compression results?
I have never driven a manual.

Automatic cars do get better mileage, and AFAIK the concept of “manual” makes no sense in a future where we switch to electric cars to reduce Co2 emissions.

The article author’s point about using additional limbs making it harder to text and drive is well taken, but I think we are going to have to continue to work on ways to make texting while driving either safe or impossible in an electric/automatic future.
I said desktop, not server.

I don't have any basis, just what I expect. Windows has been fuzzed and reverse engineered to the moon and back. Desktop Linux? I doubt it.
So the effect was known for a long time, and the new development is that it was now observed at higher temperatures. But 120 K is still pretty cold, so it doesn't really matter much for practical applications.
Yep, and energy is lost in the rebalancing process, and it oscillates until equilibrium, just like a pendulum.
gopath, poor standardization of project layout, build processes and dependency management.

I've seen people copy protobuf definitions from repo to repo because they couldn't get them building consistently from a different directory, never mind issues with different versions of the go protoc plugin.
Ionic thrusters for drones? Maybe. Using light? No. Orders of magnitude off even considering the absolute limits of physics. That's not what this article says.
Already there, but it's not like that. 1h 30m in public transport would get me to another town.
Adding more info to the post, all of those images were procedurally generated stereo 360 degree photos directly from Unity(Exported at 5K or 4K res). I had built a PoC for a Game Store of sorts that allowed you to view 360 degree images of games(Via Ansel). So the image sizes were humongous and since the landing page served as a usable demo at the time we did not compress the images at first.
Tracim: Collaborative plateforme software intended for team collaboration
> Much of the problem is not quite related to Rust itself, but rather to the intermediate compilation artifacts that are fed to LLVM for final code generation.

Considering clang generates LLVM IR and compiles much more quickly than Rust, this argument doesn't hold. The Rust compiler generates IR which chokes LLVM and makes it slow, but they didn't have to do that.
That can't be right. The Angel Bootcamp told me companies need Angels and there is a shortage. They said I'd even get their course at a discount as long as I gave half my profits to them for the first 2 years after I graduate.
Look at AWS batch - https://aws.amazon.com/batch/
New York (Manhattan in particular) is unique among American urban areas in this way. A big part of the way American cities grow is the interplay between the quality of the various local school districts.
Once Homeless, This Entrepreneur Has Now Built a $100M Business
your router shouldn't introduce noticable latency. If it does it either has a weak CPU or network queues that are too large. In the former case you need to upgrade hardware, in the latter you need a firmware that supports CAKE.
Only if they are correct. I am pretty sure that in old code base it will not be correct unless automatically checked before commit.
uMatrix does, it loads (presumably) the SVG data from media.graphcms.com
This Woman Can Smell Parkinson’s. It Might Help Lead to Earlier Treatment
I’ve written a lot of Python and a lot of Go. The errors per loc are much lower in the latter because code density is much lower and because of the type checker. In other words, if you measured errors by statement or something more meaningful than “line” then it would account for the difference in density, but I would still expect far fewer errors in Go.
both iTerm2 and Terminal.app got so slow that I switched to Hyper which contrary to common sense is blazing fast for me. I’ve also started experimenting with URXVT via XQuartz but the native feel just isn’t there like it is for Hyper.

Who knew Electron apps could out perform native ones (even with GPU acceleration in iTerm2’s case)! I don’t know how or why but in this case it is so.
I'm from Lithuania, he is a Lithuanian citizen. What is interesting, that his wife told, that he is not capable to do this, because he was a small businessman in the construction business. His wife told, that he doesn't know how to use a computer properly for things like banking etc... USA asked for the extradition of this person, and my country gave him up, but he never was in USA.

The only thing he said, is that he meet some guy in Russia, who wanted to do some business with him. It seems, that he was just a proxy. He never saw money...

It's a very interesting story to look into because its not so simple how it looks from this post.

https://translate.google.com/translate?sl=lt&tl=en&u=https%3...
A Look into the Worlds Most Secretive Workplaces
Aspect-oriented programming And Lisp (2015)
My favorite prediction from a similar site:

http://longbets.org/601/

Jeremy Keith bet that “The original URL for this prediction (www.longbets.org/601) will no longer be available in eleven years.”

He looks set to lose, which is great news for him, honestly.
I totally agree with WSL cannot even touch Cygwin. I will try the combo X server with unbeatble URxvt :)
Without Kirkland, we would probably not be Costco members. From boxers, to belts, to shorts, to soap, to makeup removal towelettes, to white tshirts, to coffee - my family buys the stuff because we know it's good quality and not overcharging us.

My parents love to make fun because one day without realizing I was wearing shoes, socks, shorts, t-shirt and belt; all kirkland.

Never seen a brand like it and they don't do marketing whatsoever. It's pretty crazy!
All this complaining about the latency and slowness of terminal applications seems to be a relatively recent phenomenon. Strangely enough I have yet to experience this slowness, even though the newest piece of 'user-facing' hardware I use is a 2004 ThinkPad T42p - not exactly a speed demon by modern standards. Both the bare console as well as the multitude of terminal windows are more than fast and responsive enough, had I not read about them supposedly being sluggish I'd never have given it any thought. They still do not feel sluggish to me so I wonder why others seem to experience them as being so. My systems nearly all run some form of Linux with Xmonad and some parts of Mate, mate-terminal (i.e. Yet Another libvte terminal application) amongst them. I regularly have about 30 terminal windows active spread over three workspaces which I switch between without problems or lag. While terminal applications might not be much faster than they were in '92 when I first started using Linux and in that sense have gotten heavier and 'slower' they do seem to perform well enough for me to use them without qualms.
Japan's Chicano Subculture
(deleted content of post)

Made an enquiry about parent's angel investing, attracted a bunch of downvoting, realise HN is not the forum for this. Apologies community!
The effect appears at 120 Kelvin, or -240°F, so the article's assertion that this could revolutionize microelectronics seems like a stretch
I've gotten ones claiming that I have to send money in order for one of my patents to be registered in some particular country, typically eastern Europe.
It isn’t your “right” to demand that he follows your countries local laws, especially if he isn’t from your country.

He is well within his right to make the website exactly how it is, and you are well within your rights not to visit it.
I really like these SVG graphics. Thank you :)
Amazon Basics aren't really quality, they are like the Great Value walmart brand of the online marketplace.
I didn’t see anything in the article that changes the amount of momentum that would be transferred - as far as I could tell it’s all about the distribution of that force being modulated to make the object being accelerated tend to stay in the center of the beam

Editing to clarify my point: the article’s title seems wildly misleading by using the word levitation. The energy required to “levitate” a macroscopic object in earth gravity using light is unchanged, and while I don’t feel like doing the math right now i feel pretty confident stating that “impractical” is a monstrous understatement.
I still buy the Scott brand. It’s cheaper than Kirkland.
Very nice work. This could be used to efficiently re-implement 8-bit- and 16-bit-era sound systems, which are mostly emulated on the CPU at present. I wonder if the same techniques can also be used to enable DSP-like workloads of a more general sort on GPU compute.
I’m definitely not advocating for an automated way of building these models, for the reasons you point out. Instead, I’m saying more that probabilistic models are not taught in a way that we can easily map our knowledge structures onto them, so I’m advocating for more explicit guidance in that process.
Aspect-Oriented Programming on Lisp (2004) [pdf]
some examples of this in use would be good, the documentation looks a bit sparse.
Were they? As I said (I'll say again it but slower) Tesla is the only manufacturer with multiple driver fatalities while "self driving". Plus the countless crashes with no fatalities.

Either the description of the Autopilot's capabilities is misleading making drivers assume it's more capable, or drivers with severe comprehension issues are over represented among Tesla drivers, to the point where they actually kill themselves. The car or the driver have a problem. You pick.
https://developer.android.com/guide/topics/connectivity/cron...
I don't think the main gripe people have with Electron has ever been performance, V8 is plenty fast after all, it's more about the memory footprint.
Yes, it is an independent project used by different products like Gitpod (www.gitpod.io), Google Cloud Shell, ARM Mbed Studio (https://os.mbed.com/studio/) and so on. Eclipse Che is going to replace own GWT based IDE with Theia in version 7 as you mentioned.
Ask HN: Are there any other topics in FP then simple composition and CT
Most of the articles about functional Programming are either simple descriptions on composition and currying or about how a monad is just a monoid in the category of endofunctors. I wonder if there are no other topics in this field.
By far, the best http://sitekaro.com
Should developer have any admin rights by default anymore?

I worked in bank for a while without admin. In many years, the only tool that needed admin rights to run was the Visual Studio C++ Debugger.
There's a very real debate among health providers and pharmaceutical companies about if there's a business case for "curing" conditions. A classic product tier would be something like "$50/mo. to treat symptoms, $5,000 one time to cure", but the societal outcry would be enormous if put in those relatively unambiguous terms. As a result you get situations where investments into cures are dwarfed by investments into tweaking an existing drug just enough to get another patent, or what have you.

Or put another way, there's a lot of money in aging and cancer.
Cars with automatic transmissions (either planetary gear or dual-clutch) do often get better gas mileage than those with a traditional manual stick shift.

The reason is not what some might think. Once, a manual transmission was considered an economy feature. Cars with manual transmissions had a final drive ratio tuned for fuel economy.

Today, a manual transmission is considered a sporty feature. Cars with manual transmissions today are often tuned for performance, not economy. This can be seen in both the gear ratios of the transmission and how the engine is tuned. The result is a car that is zippier to drive, but less efficient.
are suggesting the US should adopt sane, simple, effective legislation?! I'm shocked at your attack on freedom!

they will probably solve this by curating a list of "good words to register your company" which then can be claimed as a tax exemption that requires two new forms. which adds $25 to services bill at H&Rblock. like God intended.
And disabled by default, too.
That doesn't seem to be the case on major bike lake they get used year round
I also take it to mean that they will focus on what they enjoy and not scrabble to climb the corporate ladder.
> Can you make a fraud charge stick? Probably not.

I wouldn't rely on weasel-wording to keep you out of jail. Even if those people aren't technically lying, it's obvious that they attempt to mislead people into paying for services they have never ordered.
Java Equivalent of Lisp Trace
VC Investmentsas a % of GDP
I see. I guess I should rewrite my Haskell projects into something else then. Yes, I am more than satisfied with how quickly I can develop features according to business needs. Yes, I am more than satisfied with the [observed] robustness. Yes, these businesses are currently 100% of my income. But as you rightly point out, Haskell is bad. /s

A few things are interesting to me here:

1. How we've managed to come to such different conclusions despite supposedly having similar experiences

2. The vigour with which you attacked my rather innocuous comment

3. I had a look at some of your previous comments about Haskell, and you seem to repeat the same talking points over and over, almost verbatim. In fact, this comment you made is particularly interesting:

> it becomes the same shit code mess as any other paradigm.[0]

If what you say is true, then what is your argument exactly? If everything inevitably produces the "same shit code mess", then why are you attacking me for essentially saying "I like Haskell and it is working for me"?

[0]: https://news.ycombinator.com/item?id=19400648
Cranberry Grower Created a Smartphone App for His Irrigation System
Personally, I would advise finding an itch to scratch - something you'd like to see improved. Then try to understand the code from this perspective - where would you put the functionality, which pieces would it be connected to? Try to follow the lead, make notes as you read the code. You'll eventually get a feel of the infrastructure, going from the deal to the big picture - this is my default way of navigating projects.

If at any moment you feel lost, look through related issues and merge requests, as well as Git history. Perhaps you'll see how things get changed in the project, patterns intrinsic to it.

Also, keep in mind that you can always try to contact the community/author or invite someone to try figuring out your goal with you - once you collaborate, you'll get a solution tailored to the way you think. It does engage other people, but it also makes coding social and (at least to me) more satisfying.

Let me know what you think of this approach!
the bear is sticky with honey
I could imagine that virtual environments do build some skills, but at the partial expense of others.

Both blocks and Minecraft require spatial reasoning Minecraft worlds, being larger, might even require more. However, young kids are still learning motor skills and sensorimotor integration, which will be very different when manipulating real blocks vs. an iPad. Playing with blocks could also offer different opportunities for practicing verbal or social skills, and needs a bit more imagination.

Figuring out the “best” amount of screen vs. real world time is tricky—-this sort of research is hard to do well—-and undoubtedly varies from kid to kid.
Imagine you're making a game that targets desktop and you can only target one platform. Do you launch on Windows, Mac, Linux, or something else? If you put personal ideology aside, it'd be Windows every time because that's where the users are. Exact same thing for malware devs.

Malware targets Windows because that's where the users are. If the majority of people swapped to e.g. Mac or whatever else, then you'd see the majority of malware start to target Mac. You even see this as smaller players increase marketshare. E.g. in 2015 Macs ran into more malware than in the 5 previous years combined. [1] There was no major discovery or anything happening. The only thing that happened was that Macs gained a decent clip of marketshare, and so became more worthwhile to target.

[1] - https://www.documentcloud.org/documents/2459197-bit9-carbon-...
> Windows is currently not supported.
So Israel/Telaviv is a known outlier with huge VC investment in a tiny economy.

But I am surprised by the high US & Canada %.
Something that also helps cut down on these types of bugs for me is Semantic Highlighting. I've gotten my whole team to use it.

It's great, because you don't have to read the var name, you just have to see if there's any var in a function that doesn't have the same color as anything else and they tend to stick out like a sore thumb.

Not sure if that's the best explanation, but if you're using any JetBrains IDE you can try it by going to Settings and searching for Semantic Proximity and hitting the check mark. Easier to show than explain.