skysight-inc/HackerNews huggingface dataset:
For the fattening of animals intended as food it’s typically accepted grammar to use “fatted” as in a “fatted pig”.

Same as “datums” is correct in some contexts.
Failure as a service doesn't make all that much sense considering that a many failure scenarios would make the target host inaccessible to Gremlin.

How does Gremlin handle this?
What does Venezuela has to do with the EU?
Ok, this I can understand. If the cost is in fact in the initial conversion rather than in transportation, it makes sense. In that case though, we are not nearly as good at turning heat into electricity as I thought.
So org-babel but with pandoc? I'm on board.
This is quite true.

But it must be noted that the code may actually be bad.
Or it may be bad due to a thousand valid reasons (time pressure, business changes, etc)

My personal approach is this:

* Write new code must be "good" (Whatever that definition is)

* As you iterate through old code, clean them up.

For example our own codebase is several years old Nodejs project. Mostly written in callback style with `async.auto` and it's really ugly and hard to maintain comparing to async/await.

All our new code uses promises and async/await. All old codebase uses callbacks. We have to use promisify a lot.

But without any hiccups, we are slowly and slowly moving towards a better codebase.

What helps "immensely" is tests. We have 2 different layers of test and I don't think anything would've been possible without them (although none of them are at 100% coverage. Nowhere near)
Was he happy doing what he's doing though?

Don't get so caught up with money. And don't judge people based on your perception of what their income might be.
If you know anything about CAP https://en.wikipedia.org/wiki/Combat_air_patrol , the fighter aircraft which is closest to the intruders responds.

In our case, it happened to be MiG 21.

Had it been Sukhoi-30, we would had shot down at least half a dozen of them.
Just referring to the speech part... Is the speech free as in speech if it isn't free as in beer? If there is a gateway to prevent it from being freely distributed? With GNU the free as in speech is also free as in beer -- if all you want is the speech (aka code). If you want services around the code it will cost when companies are trying to make a business on it. Correct me if I'm wrong (and I probably am), but doesn't every additional dollar reduce free as in speech because of reduced access?
So in the above reply I completely ignored the fact that he said the homework is only given to people who haven't worked with their tech stack. I also swore and went on a rant. Sorry! It's still something that needs to be said though. Just not to that guy...
> I would prefer to keep the French train monopoly, at least it's cheap and it works.

Sure you might prefer, but your personal preference doesn't change the fact that protectionism is bad in the long term, and illegal in the EU.
As long as you actually do the update as they come along. I've had to upgrade a Mac that hadn't received any updates since 2 or 3 years - it's a disaster, the app store barely even works anymore.

Otherwise I pretty much agree.
I am the author of this document. If anyone has any questions, I'd be happy to answer them!
I think the number of people who won't use meetup exceeds the people who won't use facebook at this point. I despise facebook but it's a necessary evil. Meetup is just a terribly clunky site I hope I never need to log into ever again. I go to some meetups that happen to be on meetup, but find the times elsewhere, or they're a weekly meetup so I already know the time. They may have dominated the space, but if you use meetup, some will just ignore the meetup group.
He literally had to settle a with the FCC for manipulating Tesla's stock price by falsely claiming that he was going to take the company private; that's not hyperbole
Restating the goals of the WASM project and actually reading the spec doesn’t make anybody a hater. Also Flash had the equivalent of host bindings and could not modify the containing page.
This is really interesting. When I did the original analysis on datacenter / server ids, I didn't think about correlation with user accounts. Nice observation!
Economics basics. Support your own industry to maintain a viable industry. Why should India or Australia buy French rolling stock if they themselves won’t deploy it? At that point, close shop.
I have a similiar problem like you, except it's Java and more like 15 years old...

What helped? Using a debugger and stepping through the code was useful, it's more a less a REST-API here (build ontop of the system, before it was SOAP, etc.pp) and I've just used some heavily used endpoints and stepped through all the way...

Another huge boost in understanding was using flamegraphs (not sure what's hip for nodejs maybe this? https://github.com/davidmarkclements/0x)

This was really an eye opener because that app also used an external huge Java ECM and there was lot's of AOP magic, reading the flamegraphs and looking at the source was a big boost in understanding.

It's also a really useful tool to get visibility for performance problems that are not directly visible in the code.

If there are tests, reading them might also be worthwile.

And take your time... took me a few months to get a basic understanding how it's working (I'm more sysadmin, not really a dev there), so don't except to grasp everything in one week.

Ask your colleagues - maybe were to find documentation or if you don't understand something while reading the source.
> I don't get annoyed when Firefox updates and wants to restart.

This was true for me until recently on my work machine I went to open a new tab and Firefox forbade it until I restarted for updates. Can do whatever I want with the other tabs, but can't make a new tab. Multiprocess blah blah, it didn't used to be this way. Every tech organization successfully wages war on its own users from time to time and will disappoint you sooner or later.

But yeah, respect for users. Many kinds of malware treat your machine with more respect than Microsoft does.
By "killed the Droid line", I was referring specifically to the keyboard slider line Droid/Droid 2/Droid 3/Droid 4. And I think that happened almost solely because Google did not like the keyboard slider form factor.

A surprisingly large contingent of consumers liked keyboard sliders too. Silicon Valley folks pretend that users didn't want them, but the truth was that at the time, phone technology was moving much faster, and keyboard sliders usually came out running a year older chipset, and were the last to see software updates. People didn't want to give up their keyboard sliders, but the OEMs just weren't serving the market.
If the data in the database is "de-identified" then how does it eventually lead to interventions?
Sounds like he’s recommending the Rust approach. Seems reasonable.
Yes. Trying to refactor everything at one go is a disaster waiting to happen. It is always best to do it incrementally.
It's been on the site a few times. I had some comments on it here:

https://news.ycombinator.com/item?id=11496782

Great piece of journalism, though. Also, one of few long forms I read. There's so many other potentially-good stories in this yet to be reported on. Hope people get at them. :)
When I was a QA I’d use Firefox’s network inspector to edit and replay network requests easily, changing different parameters while being in an environment that stores all the necessary auth and cookies to use the APIs. I’ve had a lot of fun with that trying to reverse engineer websites without too much effort. Chrome still doesn’t do that.
Maybe if you can show me that if you flick an RC oscillator you can detect it, then I'll believe it's a silly distinction. Or if RC oscillators can detect gravity:
https://www.youtube.com/watch?v=zILwgQhjC_Q

I'm also curious what it would mean to you for two things to be doing "fundamentally different" things. Do you believe in the difference between a mechanical oscillator and an electrical oscillator? Mechanical oscillators like a spring/mass exchange energy between kinetic and electrical energy (a moving mass and a strained material). An RC oscillator exchanges energy between elements that store energy in an electric field and a magnetic field. That feels fundamentally different even in a four-fundamental-forces kind of manner.
If we take this to it’s logical extreme we can see how absurd it is.

Why stop at the EU?

If Tau Cetians can produce trains cheap we ought to buy trains from Tau Ceti.

Never mind that it puts the locals out of a job, diminishes local pride in locally manufactured goods, and what do the Tau Cetians care if the trains are unreliable and in comfortable.

Economics doesn’t occur in a vacuum, and it doesn’t matter if my opinion is economically factually incorrect: the National morale does matter.

But, if you hold competition above all else, then we have an ideological mismatch, and no amount of fact or opinion sharing is likely to help.
Thanks for the feedback! All definitely things we need to improve on. We try to make things easy to edit/reorganize for places where our algorithms don't do an awesome job (like getting your fish earlier in the week), and it's definitely less than ideal. Our goal is to get it to the point where you can reliably just buy all the ingredients without needing to review the plan, and just have it auto-order your week's groceries the same way you might leave Blue Apron on auto-pilot.

A lot of other meal planners will have more curated/appealing meal combinations, but also only serve a few different generic nutrition constraints. We'd like to keep the nutrition targets as flexible as possible, which requires a much wider search space on what goes in a meal. One approach we could try is allowing fractional servings on your recipes, but then you'd never be able to escape measuring specific amounts for each meal/recipe, and we think there's a decent amount of amount of value in keeping the servings simpler so you can eventually recall them from memory and not rely on the meal plan. Hopefully we can get the best of both worlds sooner than later.
I completely agree with this article, it is very well written and makes total sense. Managing dependencies is SO much more important and allows code to move quickly while existing legacy code sticks with what worked at the time it was written. There are tons of solutions out there for dependency management for C++ and a graphics library would be much better as a separate package that can be versioned, improved, deprecated and ignored as required.
This is super specific to each project but here things that worked for me in previous projects.

Two assumptions: You plan to work on this longer-term (not a 1month project stint) and there are things worth improving (eg barely used legacy app might not be worth your time)

#1 Get the team on board

if there are multiple people you need their buy-in and support for whatever approaches you want to do

#2 Plan for "health by a thousand small improvements"

it will be an iterative approach and you will refactor as you go.

#3 Don't assume different = bad

people might have done differently, consider using their approaches. you might do it differently. but it's better if you keep a consistency within the codebase. in codebase management consistency trumps cleverness

#4 Create space

Consider introducing a fix-it friday where everyone can work on little improvements

#5 Create non-blame culture

Stuff will break if people risk improving things. Avoid blame shifted to them. If bug trackers ping individual people consider pinging the whole team instead

#6 Consider automation

introduce linters, autoformating, codemods, danger.js, code complexity analysis, etc

#7 Introduce tests

This one is the most annoying. But worth doing: whenever you improve a feature a bit try adding a test - often in legacy apps there are no good tests. A lot of people recommend writing a test suite for the whole app before you do anything. If you are lucky enough to do this try it. I always found the iterative approach more realistic as you can also do feature work while refactoring.

When doing tests focus on integration (vertical/functional/etc) and not unit tests (unless the "unit" contains critical or complex logic). Your goal is to know "that you broke something" - you get by if you don't always know "what you broke"

#8 Acknowledge tech debt

not everything needs refactoring. If it's not critical and nobody needs to touch it consider acknowledging it as tech debt. Add larger notes above the problematic areas and explain why you aren't refactoring it, explain things worth knowing to understand the code better, etc. Whenever you leave comments remember that comments should explain "why" not "what" the code does.

hope that helps! good luck.
Can you provide some links with more details? Googling sub-phrases from your comment finds me nothing but information on the natural weathering cycle of silicates as it relates to CO2.
ThoughtWorks [Australia] raises anti-encryption compo as distrust swirls
Guy Webster, Master of the Album Cover Photograph, Dies at 79
New Reactor Designs for Revival of Nuclear Energy
I was saved by a consultancy that dropped in my lap, a foreign company looking for a local representative to manage a key account. Basically 10-20 hours a month doing some product/marketing and account management stuff within my area of expertise but not related to my startup. It mainly just ate into my weekends, with a few meets mid-week.

Since then I have noticed others doing the same type of work to support themselves while their businesses are in the early stages (be it startup or trad. business).

Im relatively old and have a family withs kids in school, for me the hardest part of founding a startup was the financial strain. We extended way past our initial runway by not taking salaries, eroded our savings. It was difficult, but I had confidence in the business, we had responsibility to our customers* and this gig saw me through the really dark times.

We are a success case (our startup is seeing a lot of traction and funding now isnt an issue), but this is an area that I think needs more attention. I can imagine there were potentially great businesses that failed because of this. Startups (esp B2B ones) take time to find their feet. Older founders can eat ramen but you cant feed it to your kids.

PS On general advice id tend towards activities that arent too strenuous and are different to your main tasks within the startup. Eg developing part time while coding full time for your startup id imagine would be a huge drain.

* Our startup has an impact aspect. You couldn't with a heart abandon it, even if you were to roll back your services in a professional manor.
What users do when you create an intuitive UI
Thank you for letting me know. It's good to hear that St Michael's College values your work, too.

Cheers.
I don't love it because let's say I really did want to change it, it doesn't tell me how much effort has previously gone into it and what happened. Maybe it means 10h have been spent in vain maybe 10000h. If I want to try my luck that's important.
Hundreds of thousands per month. At least that was the price in 2012.
Yes! Here's a video: https://www.youtube.com/watch?v=zILwgQhjC_Q
> That's pretty much the opposite of communism

It always comes to this. It’s not real communism! They misrepresented Marx!

Utopias would work so fine if it weren’t for the real world.

> What else?

I thought this was an actual discussion but it’s clear you’re not interested in that.

> You have heard of the embargo, haven't you?

Yes. Somehow being able to do commerce with every other country in the world is not enough though?

Have you heard the left wing party line on any third world country? “We need to stop commerce with the imperialists!” Well, they got it in Cuba...
...and if they do, take advantage of it - you can learn a lot from what the tests do.
Coming from any language with a package manager to C or C++ is like a trip back to the dark ages. Sometimes homogeniety is much much better than flexibility. I too prefer a slimmer std lib with a sane package manager over batteries included (and kitchen sink, and now outdated gfx api). You might get shit like leftPad.js, but you'll also get a very very vibrant ecosystem.
Sometimes it's true but you definitely should wait quite a while before you say it. First you need to understand what the current code does and also learn some history how the code has developed.
For me this really depends on the context. For example in a small for loop I entirely expect to see the variable "i" used (i = "index" or "iterator"). In three nested loops, I also expect "i", "j", and "k" used for each loop level. This is mostly because it is common enough convention that I don't have to think about it. Same reason I would rather see "2 + 3 * 7", vs "two plus three times seven", the information just gets in my brain faster that way without filler.

Other cases include the comparison function for a sort algorithm, where I expect "l" and "r" for left and right, and the sort function itself I expect to see "a" for array, "c" for comparison function, "s" for swap function.

But when the variables don't really make much sense, or there is no existing convention, then there should at least be a key present for what each variable means.
> the fact that protectionism is bad in the long term

It all depends, some industries are just not working privately, the privatization of electricity in France was also a failure for example. The privatization of the post system was also a failure but it matters less since the postal system is less important nowadays.

For the trains, the core issue here is that the network has a value has a whole, if you start to remove the unprofitable parts, it reduces the value of it as a whole. It would be like having only highways, it would not be useful even if it's where you have the most traffic.

> and illegal in the EU.

Well, then you understand why some people become anti-EU when their public service fails and politicians tell them it's perfectly normal and because of some EU policy.
I’ve seen photos of Earth from space; I didn’t see any borders.

The EU is an arbitrary distinction.
Chrome was the first browser to give each tab a unique subprocess but it did not start out with this. I think this may have been 2010.

Also when Flash crashed it would crash its container opposed to the outer page. Flash was also a separate process from the containing page.
Quartz crystals oscillate like a slab of jello vibrates. It’s not moving like a pendulum or anything...rather the bulk material is expanding and contracting and energy is stored in the deformation of the crystal lattice.
There's a term for this, Chesterton's Fence: https://en.wikipedia.org/wiki/Wikipedia:Chesterton%27s_fence

> let us say, for the sake of simplicity, a fence or gate erected across a road. The more modern type of reformer goes gaily up to it and says, "I don't see the use of this; let us clear it away." To which the more intelligent type of reformer will do well to answer: "If you don't see the use of it, I certainly won't let you clear it away. Go away and think. Then, when you can come back and tell me that you do see the use of it, I may allow you to destroy it."

That said, if you know how to refactor safely even without tests, you can make improvements. Since the questioner is working in JavaScript, Martin Fowler came out with a second edition of Refactoring with JS code that might be useful.

I've never read the first edition (in Java) but Michael Feathers' Working Effectively With Legacy Code is a frequent recommendation of mine. Its main goal is to get your mess under test, ideally tests that help you understand the system as well as improve its quality. It's organized as a set of questions one finds oneself asking in these kinds of code bases and some ways to resolve them: https://www.oreilly.com/library/view/working-effectively-wit...
>The complexity of current web client stack is comparable with the average OS.

I'm with you here, go on

>That's like situation with Windows and WINE.

Um, no. The situation is not, and has not ever been like that.

(If you think the analogy holds water, the burden is on you to argue that. I am not going to write an essay on how an airplane is unlike a cow; it simply is not.)
There is choice... buy a blackberry or any of the other phones with hardware keyboards.

https://www.theverge.com/circuitbreaker/2019/2/25/18239446/b...
Is it really even worth mentioning? It's a literal plea for attention from a group of white guys shouting at clouds about how the unfair world is oppressing them. The technology has been done before and better.
sure they do. you are totally wrong. they just shouldn’t
Show HN: I created a free community for tech leads
> it doesn’t matter if my opinion is economically factually incorrect: the National morale does matter.

I don't even know how to reply to that. Not only you're completely wrong, but you're a nationalist who would sink your country for "national pride".

Kinda like North Korea.
Same exact boat. Case sensitive search.
you are totally wrong i know plenty of people who do. i also know people who think docker shouldn’t be used in production and that we should use containerd just like vagrant/packer
same with containers. plenty of backends
I don't think that lying to people is a good strategy.

I mean, if I'd forgotten that my whatever was dead, I'd like to be reminded. Not humored. Because that's so dehumanizing.

And if I'm so far gone that I can't handle it, I'll probably forget about it all, fairly quickly.

Or if you can't deal with the upset, just distract them.
Can anyone explain why Dow Jones would store data like this in elasticsearch? This seems like a classic relational database scenario.
If you are using gboard you can swipe on the space bar to move the carat.
I run Windows because that's what my job requires. I also use Linux for personal stuff. This is hardly a unique situation.
just want to get a sense: any hacker newsers living in Beijing? if enough of us, I'll organize a Beijing meetup.
That is not correct. MS is ditching Trident for Blink but Edge and Chakra are still remaining technologies. This is unfortunate because Chrome is super slow on large CSS animations
The statistical claims in the article make the assumption that tweets are being sampled uniformly at random, which is most likely false.

The fact that 3 machines handle 20% of tweets suggests that tweets are not in fact assigned to machines in a uniformly random manner. I would guess that there is a geographic bias as to which machines handle which tweets.
Interesting! Great work. I wonder why they didn't just use uuid and have a timestamp attribute to sort them in the UI?
The place to start would be: https://science2017.globalchange.gov/chapter/10/

The key phrase you're looking for is: CO2 fertilization.
Haha thank you for not directing that at me.

Hiring and having a welcoming but selective process is rough :)
On the Fragility of Remote Communications
Why does string need/deserve to be in the standard? Doesn't the existence of cord cast doubt on thst?
If you use machines in schools usually you end up having older laptops or netbooks. That's why matters IMHO. Definitely not for the person who is a dev and has fully decked out macbooks or thinkpads...
Ok. Thanks. I haven’t actually tried to run the PoC against it.
$1B Effort to Rethink CS Education at MIT Sparks Interest–and Protests
I think you over estimating what the SU-30 can do; it stands a better chance but what you are describing is unlikely given the armament of the F16s.

The question is still why are the MiG 21s even operating in a contested environment when the opposition is much better armed when there is a better alternative.
> Economics basics

Sorry, but it is clear that you don't understand the very basics of economics...
It's variable based on what's going on at the time but I've seen upwards of 7k tweets a second for the sections of the timeline that I've ingested using this technique.

Someone suggested trying it when the New Year starts in Japan. Apparently there are tens of thousands of tweets per second then.