skysight-inc/HackerNews huggingface dataset:
> includes within includes . . . global variables

Yeah, that's a pain. You have to exercise a little discipline. Of course none of my code has that ;)

With hand-typed routing, can't you accidentally define two routes that overlap, so some URLs could match both? The only reason it goes to one and not the other is something random like the order the routes are defined in the file? Like if you defined this route:

/a/b/c

Then you slept, added a bunch of code, came back in three months and put this in:

/a/*/c

Now you have two routes that match the same URL. And maybe they're separated by several lines of code, so that the mistake is hard to spot.

You can't do that with a filesystem, put two files in the same place.
Nice, better than whipping up a Private Browsing Incognito tab just to spite Alphabet Inc =)
I made ? a bit more discoverable. Thanks for the feedback!

It's pretty easy to experiment with a new data backend, as long as it's easy to implement GET and SET for a key-value store on top of it. It took me less than an hour to get the first version of Firebase working. Most of the work would be implementing the auth, UI, documentation. I've planned on experimenting with Dropbox/OwnCloud/etc at some point
UR Technology the World Wide Crypto Currency You MUST SEE
Here's a thought. Instead of criticizing the article for scaremongering, how about rebutting the points? If you don't believe the permafrost is melting, say why. If you don't believe the planet is warming up, say why. If you don't believe that humans are contributing to the warming, say why. If you don't believe that ancient microbes thawing out is a matter to be concerned about, say why. By offering this sort of discourse, those of us who don't study microbes and infectious disease, for example, can become better informed.
Don’t Let Facebook Make You Miserable
My point is that they could if they wanted to. Granted, they don't need the money, but still... it's something you can easily hide and nobody would be able to tell without spending weeks looking at disassembly.
WebAssembly bytecode is relatively simple; it shouldn't be any worse than dealing with obfuscated JS today.
How can we combat woo-woo of this type on a local level? When I moved out to the bay area from Arkansas, I thought I would be escaping this type of garbage but it is still rampant out here. It just comes in a different form. Here the neighborhood health food stores have entire sections devoted to homepathic "medicines", and I see anti-vaxxer bumper stickers plastered all over town. Events like the "March for Science" that just happened are all good, but I worry that standing up for Science and "reason" is too general and abstract. How can local groups educate people to counteract these movements that have actual damaging effects on our communities? Are there organizations we can donate to that have this type of education as a primary goal?
Zomato and Intuit stand out immediately to me. I would definitely back the testimonial point.
> If we decide we don't have the right to conceal our digital correspondence from the government, what else should we not be allowed to conceal? The conversations you have in your car? In your home?

Let's say the Government decides that it has a zero tolerance for domestic violence, it goes ahead and implements "preventive measures" - cameras and microphones in every home, in every room. Now, they might achieve the great reduction of violence, might even catch one terrorist. As always - think about the children, we could prevent all those terrible parents that beat their offspring and catch all those wife beating husbands. And, lets think about what that would do to society...
> You most certainly do not need to do the same.

... except that those browsers are still out there, so it depends heavily on how much damage someone can do by abusing the data your server can emit whether you need to do the same.
Link, anyone?
Except I don't think a JSON object is valid Javascript by itself.
SD Maid / App control tab, you will need root
When I was young (and a white male) what could I do?

All the girls (16 to 20 years old) were hot and going to parties and having older boyfriends of course

Yes, the attractivness of the topic "white, priviledged males" is THE TWIST: Actually we were ugly ducklings sitting at home not knowing what to do with our time

Today we are compared to a few super-rich and lucky guys. And the job: Is it a job that other people are envious about, that I am doing it?

"Hey, he is programming according to the requirements he is given by project managers"
This comment deserves much more attention; positioning matters. If your pasta was twice as good for half the cost people would probably still convince themselves there's something inherently inferior about 5 euro pasta and that it should be avoided.

This is why starting upmarket and working down (Apple) works better than starting downmarket and trying to work up.
How To Use 23andMe Irresponsibly (2014)
But you did think of it.

Q: "Why would you sell something for 5 euro when people are happily paying 10?"

A: "We'd make a killing!"

From what you've written it seems the customers are not happily paying €10. They've simply traded satisfaction for convenience.

So your idea is a pasta place that enters a market where the only choice is "terrible and overpriced" and provides an alternative of just "terrible", attempting to price-out the competition and rake in the dough.

Exactly what OP is considering (replace 'terrible' with 'equivalent').

So I guess what your boss is getting at is that the smarter business strategy would be "less terrible and overpriced" - compete on value not cost.
You'd be surprised how much you can find out just with a $10 TV tuner dongle and a piece of coax with a short section of the outer braid trimmed off at once end.
I believe Intuit and Zomato are relatively well known in the US. Inuit especially through TurboTax. Maybe you could do something like "Inuit, developer of TurboTax"
Both Goudsmit and Pash wrote books about their Alsos mission to find out about the German atomic bomb program. Goudsmit opens his book with a drawing of the German experimental station for atomic bomb research - a house-sized wooden building.[1] The US's Manhattan Project involved building as much plant as the prewar auto industry. The US intelligence people knew there was a German atomic program, but couldn't find out anything about it, so they assumed it must have really good secrecy. Goudsmit mentions that the V-2 rocket project made no sense unless it could carry an atomic bomb - accuracy was so bad that it couldn't hit a target smaller than Greater London, and it cost as much as a fighter plane.

No, it was just a tiny program.

[1] https://books.google.com/books?id=3v2ttYJ_d2kC&pg=PA2
Go re-read the first few paragraphs of the first post:

> After doing some minimal research I noticed that sets do roughly 40 euros / Kg and that bulk lego is about 10, rare parts and lego technic go for 100’s of euros per kg. So, there exists a cottage industry of people that buy lego in bulk, buy new sets and then part this all out or sort it (manually) into more desirable and thus more valuable groupings.

> I figured this would be a fun thing to get in on and to build an automated sorter.

He then impulsively bid on a ton of bulk lego on eBay and ended up with a garage completely full of the stuff.

Sounds like it started for fun, then spiraled out of control and is now a thing he would very much like to do to get all this lego the hell out of his life for at least enough of a profit to cover shipping it to and from his place, if not much more.
that's quite amusing suggestion considering Greenify is closed sourced Chinese root app which optionally (only?) report data back to mainland China and dev worked for some companies producing shady apps, before according his LinkedIn profile
> > Preferring implicit code is optimization for the first person writing the code while making it harder to understand, debug, and update.

> I feel that this argument has been repeated so often that it's almost understood axiomatically: nobody thinks about what it means anymore, it just "seems true".

Indeed. It seems just another way to not understand "everything is hard to read until one learns to read it".
Since (s)he graduated from Duke and worked with Google in golang (relatively recent), very likely that (s)he is either on STEM OPT or already have H1b.

Also, that's a very odd use for a throwaway account.
I think the article is drawing unwarranted conclusions from the types of machines used. At the office where I work, I have several Canon printer/copiers just like those pictured. Anyone else who has a day job working in a medium-sized company could have scanned those documents at work - it doesn't mean that there's some large, professional hacking organization that has resources to buy these machines. For that matter, anyone could have access to equipment like this by walking into an office services store (Kinko's, Staples, etc.) and laying down a small amount of cash.

If the two documents were scanned simultaneously, it could just mean that two friends were working together in a place large enough to have two machines (e.g., any office services store).
Wakefield lost his license to practice medicine in the UK for his fraudulent "studies" and the academic papers submitted based on them. So he moved to the US.

I wonder if, though, he could be prosecuted for practicing medicine without a license. Certainly a foreign physician without a US license (or a licensed US physician in a state in which she is not licensed) would be subject to that.

As a non-physician (and non-former physician), if I tried propagandizing on this issue I think I'd be safe. But it's not the license that makes you a physician.
I can also see it happen that browsers will one day shut down plain JavaScript, only allowing WASM. Certainly if the security burden becomes too big.
How does read-tracking work (a feature I don't even want) with a client-only email solution like this?
I wrote cargo-esr[1], an alternative tool for searching crates, with the purpose of narrowing down good choices.

Feedback welcome.

[1] https://github.com/rust-alt/cargo-esr
I would assume that we have or could develop the technology to place audio and video recording equipment on any historically significant sites.
Between this and the recent research paper I read about using the front-facing camera on mobile phones to track where I'm looking on web pages, I just want to unplug.
And it can be a burglar alarm :-)

I like the research (and the general class of research which is looking at trending changes in measurable activities to understand health) but it creeps me out a bit to realize how much about someone you can learn by combing through their 'digital exhaust' if you will. Sort of their information wake[1] as they move through their daily activities. I saw someone testing a remote thermometer that was pointed at people coming into a health clinic to measure how many people a day passed through the door and were running a fever. Useful? probably, creepy? definitely.

[1] Ripples in the data sphere as people pass much like ripples in the water as a boat passes.
If you think about it, it's not. Coke has a great brand because their products pleased consumer expectations, just like Apple. Cokes brand is so good people won't switch even if given a potentially better product, because Coke has always tasted good to them, Sams Cola might not.

There is a significant difference between Apple and Coke. You always buy Macs because they are better for your workflow and find the experience delightful. That makes you usually want to replace one with another. You then have a bad experience with a Mac purchase. You now are far less likely to trust Apple and the Mac when you make your next of purchase.

Coke doesn't suffer the same problem. The joy of its purchase is the consistency of the experience, it's always the same. You know it will never disappoint that taste desire. That's why Coke never ever allows its bottlers to vary the formula even minutely. That way They can never lose your trust. If you drink it from fountain dispensers, your experience is less consistent, making that a more challenging market fir them.

So yes Apple is helped by branding. But like all great brands, Apples brand was built from product excellence, not advertising. Advertising is just a reminder or purchase trigger for the good feelings you already have for the brand.

"Yea, those AirPods look cool, that reminds me I wanted a pair because I expect them to work really well. I should do that now"
i honestly wonder if you are a troll paid to spread FUD, and drive societal wedges.
Your comments here are arguing that this isn't a problem. You called the stats dashboard "hugely misleading" with the implication that the problem is not as bad as it would suggest, but actually it shows that the problem is worse than the average western based HN developer realises (based on their day to day experience).
I guess this is what you get if you let an advertisement company define the web.
William Baumol, economist who found logic in rising health-care prices, dies
> On the other hand, Go is a bit tediously boilerplate heavy

Go is a half baked DSL gone too far. Just like PHP, in 15 years, people will regret that the language wasn't carefully crafted despite its good "ideas", when developers will have to maintain million of lines go projects in production.
I would love love love if my Android phone would occasionally provide me a summary of which apps are making use of the camera, the GPS, and the microphone and allow me to disable them.

Sure, I can hunt for this on my own. That's not the point here. If I'm walking around with a supercomputer in my pocket, I'd like it to do this sort of stuff for me automagically.
Nice work, I enjoyed the write-ups. You wrote that you wanted to sell off complete sets.

Would you be able to first make an inventory of all your available pieces. And then load a DB with (all?) complete sets and let the machine sort different sets in 1 bucket (starting with the most expensive set first?). Or how are you going to get your sets together?
I hope you're joking.
He meant they do not volunteer their time to political campaigns.
I think that Javascript is great for it's implementations in NodeJS, but yeah, I see two sides to the argument:

The syntax, semicolons, etc are minefields.

or

The syntax, semicolons, etc can teach good habit and save a lot of headaches in the future (missed a semicolon here, missed a semicolon there.. etc)
Ostriches, emus, and penguins can't fly, though their ancestors were able to. That is not evidence that they are evolutionary dead ends.

Well, I can't say concerning Ostriches etc but a common pattern in recently emerged islands is for birds to reach the island first. There not being any predators, some of the bird species evolve to being flightless. Once rats or other mammals reach these Islands, these species tend to become extinct. So naturally occurring "evolutionary dead-ends" are certainly possible (European sailors releasing rats and rabbits to the many islands they visited accelerated the process but it is still "inevitable" since mammals will to a given Island sooner or later).

Sure, one can define selection and fitness "internally" and thus whatever survives is "fittest" up to a given point. But it seems reasonable to take an external view and judge that certain evolution paths lead to the end of species. There's no reason abolish this kind of analysis just because one has honed the specific, technical meaning of these terms so that they aren't concerned with the question.
A working link: https://forum.handbrake.fr/viewtopic.php?f=33&t=36364
> Which is trivially compartmentalized through a Node proxy server that takes up at most 1000 lines of code. Nobody's throwing out their code for that.

You just said, Node brought nothing new to the table, obviously you were wrong.
Doesn't matter, since you call the destructor for the derived class through the vtable. The function you end up calling knows the size of your object and its exact layout. The size at this point is compiled statically in to your program.
> I get about a third of the way through a lot of books and say "ok I get it", as the author basically just continues to say the same thing in different ways.

With you here, I thought the same with "Quiet" and "Scarcity". It's not even about arrogance, more like time economy - I can move on and do other things, while those newly learnt principles stew away in the mind shed.
There was a story in Eastern Europe just recently: a 20-year-old guy desperately needed money and sold his kidney for $15k so that he could marry his girlfriend. He died a few weeks later.
I agree with this. Their entire business model is built on providing a premium experience and value to customers who value that. If customers don't see premium value from their devices, the brand will be tarnished and customers will leave.

But so far I only see it happening in Macs.
I don't believe a single thing any US agency says and I'm not american.
When you have a rapid sequence of large and small allocations, your memory starts looking like swiss cheese. To fit a large allocation you need a contiguous block of free memory, but all the available blocks are too small, so it gets placed at the end where the free ram starts. Then another allocation is put right after it, the big chunk gets freed, and a small allocation is put in its place. Now instead of one big block of free memory you have a slightly smaller block, which is slightly too small to fit a large allocation, which has to be put at the end, and...

I ran into this issue once debugging a performance issue with a CAD file parser. It made a lot of copies of large and small chunks, and some CAD files would cause catastrophic fragmentation. Switching out the allocator for a smarter one fixed the problem. A few versions of delphi later they put that allocator in by default, so that now it is not prone to fragmentation anymore.
They didn't say another distribution is more fair? They said that we shouldn't passively accept any distribution if it is a cause of societal weakness, instability, or fragility.
"
Further Actions Required

Based on the information we have, you must also change all the passwords that may reside in your OSX KeyChain or any browser password stores."

That sounds like a very large exercise...
Both your speaker driver and your application code still needed to keep track of the buffer size. calling free(size) on your buffer would require no extra overhead
> There aren't a lot of facts to go on

In fact there is a long history of evidence. The Russia defenders love to try to create uncertainty, using these same talking points every time, regardless of the evidence.
Nice try but not working.
You mean, in projects written in languages that are unsafe from beginning to end rather than in small blocks?
For me, I started reading a lot more when I moved to New York and started taking the subway everywhere.

Public transit makes a good excuse to read, since I find it a rather difficult place to do "real" work, but there's also a lot of downtime.

Also, despite what this article says, I found that purchasing a Kindle really made reading a lot less of a chore.
I think the candy coated term used in this community is "pre-revenue". Multiply that by $35-45m per year in Engineer salaries and you have a giant black hole. For money.
Mysterious IoT Worm Hajime Builds 300,000-Strong Botnet
Yup! In my personal (and basically worthless) opinion, this is why the entire "web application" ecosystem is a giant, flawed mess. It's basically what happens when a system originally designed to represent and transfer rich textual documents (HTML/HTTP) is bastardized into a application architecture.

Yes, I'm being somewhat hyperbolic. Bring on the downvotes! ;-)
"Until we know how long [the women are] staying on the porn sites, and have actual empirical evidence about what they are doing while on the sites, we don't know if they're looking out of interest, or doing it because that's what their boyfriends or hook-ups want, or if they're actually masturbating to it."

So... "We don't know"?
Didn't this also happen somewhat recently? How can this be prevented? The window could be reduced by actively monitoring mirrors? Could BitTorrent help mitigate this because the torrent file validates data and isn't under the control of the parties?
In case the site goes down: http://imgur.com/a/I6gpB
Something similar has happened with Transmission's download DMGs being replaced on their servers [1] (twice! [2]) in recent memory.

[1] https://news.ycombinator.com/item?id=11234589

[2] https://news.ycombinator.com/item?id=12403768
Nice tool, thanks for the link!

However, we need someone to build an app that can detect ultrasonic FSK signals and log them / pop up a notification. I assume they use short bursts which makes looking at the spectrum constantly unfeasible.
Could you please elaborate how someone not-vaxing who gets sick can hurt a vaxed person? I hear this argument some times but no-one was able to explain how this works.
One thing that Google really should do is allow a feature to temporarily give permissions or fake giving permissions. For example, I want to send my location on Whatsapp then I would want it to ask for permissions every time. Similar to how certain websites cannot access my microphone just because I let them do it once, neither should apps.
I don't understand how I'm supposed to verify the checksum if I've already installed (and run) the HandBrake.app ... and long since deleted the .dmg installer file ????
Ask HN: Thinking about my career
This weekend I had a sudden urge to draft a plan outlining an approach towards my future career.

I'm in my late 20's and have been a full-stack developer for the most part. I have a masters in computer science. I would have gone on to do a PHD but did not realize my (apparent) affection for research until later.

Looking back, I've drifted through jobs that have not been fulfilling enough or complex enough. I spent my time writing SPA web apps (nodejs,ReactJS, good experience and learnings) or writing enterprise software in Java (meh)

Looking ahead, I want to take a more determined approach towards what I choose to work on.

The criteria I've decided on is : Technology that is mature and will be around for a long time with high probability, solves complex-interesting problems, which currently has and will have good jobs with good pay and a side effect of which will be a gain of transferrable skills.

An example project that meets the criteria : Kafka
- Kafka is mature-ish, solves complex & interesting problems (distributed systems), open source (can immediately start working on it), has jobs, decent pay and has transferrable skills relating to Java, distributed systems and data systems.

My plan is to dig deep into the technology, understand the domain, start contributing to the codebase and take up a related job.

----------------------

Any comments on the criteria as well as suggestions for projects would be appreciated.
Google Docs Users Hit with Massive Phishing Attack
> Can you imagine the neurotech equivalent of a pop-up?

Something along the lines of targeted advertising in Minority Report.
> Note that the size parameter is ignored by the standard library implementation

Only because they all call malloc() and free() under the covers. It was however an ABI break, and one the C++ community thought worth doing.

If you replace your malloc with jemalloc you can easily wire this up to sdallocx(). The C++ standard library obviously can't do this out of the box because it can't assume you are using jemalloc
If you're genuinely interested, the writer of this poem, Russ Roberts, has in fact interviewed Daniel Sumner on that very subject, and they discuss in detail what subsidies exist in American agriculture, and the political economies that make them difficult to repeal.

http://www.econtalk.org/archives/2015/02/daniel_sumner_o.htm...
Using an ftp server is just asking for trouble. Get an S3 bucket.