skysight-inc/HackerNews huggingface dataset:
> This is what Bazel, Pants, etc (and I'm sure a bunch of other build tools) do for you. You define a dependency graph, then per commit you can see what targets have been modified and then you can run commands on only targets dependent on the modified ones.

This is way less live than the author hints at. Let's take Emacs as an example -- it can be extended using Emacs Lisp. If I write such an extension in Emacs Lisp, and I find that one of the functions isn't right, I go to the function and hit Ctrl-Meta-x and then the function is redefined in the running Emacs, and so I can try again to see if it works now.

Or take the Fish shell as an example. It provides a method to define a function that is automatically saved. So you write a shell function "foo" and you try it out (in your interactive shell) and you see it's not right. You go "funcedit foo" which pops up an editor with the function in it. You make your change and save and exit the editor. You run the function again to see if it now does what you wanted.

A similar experience can be had, I guess, using a Java IDE when working on a web application, if your stack supports hot reload (with JRebel?). You run the application in the debugger, you find it's incorrect, you make a change to the affected method, you save and the IDE hot-reloads the new method into the existing web application and you just try again.

But for all of the above examples, it is still the case that there are two processes -- one redefines things while developing, and the other process kicks in when you turn off your computer and then turn it on again.

I think in Smalltalk, you make code changes using something like the "hot reload" thing, but the new code is automatically saved to "the image". And when you want to run the system, you open "the image".
Back then, it was used to develop algorithms for real-time MPEG-2 encoder silicon. It can also be used to look at strategies used by other encoders (for example, ffmpeg). MPEG-2 video is still being used today, so it's still relevant.

Here's another screenshot showing the options available with the tool. You can switch between the picture (shown), macroblock type, macroblock quantization, number of bits per macroblock, motion vectors (shown in the previous screenshot) and coded block pattern.

http://www.w6rz.net/ss5.png
Great answer!

Todo lists that turn into progress logs are invaluable in many parts of life!
Better they ruin their own soul than inflict upon others is the way to look at that.

But then, what type of people don't RTFM besides the whole generation that treat google as their manual and when the internets down, so is there `knowledge` /s.
Automating GitHub Pages Deployments with GitHub Actions
I would also be genuinely curious whether the water usage numbers have reduced as the east cost (the majority of the population) has been impacted by long droughts since that research.
GitHub Pages provides hosting for static files by serving a branch (e.g. gh-pages) of the respective repository. GitHub Actions can be used to automate deployments, avoiding the hassle of having to update that branch manually when the main branch (typically master) changes.
Sometimes your right brain doesn't have to know what your left hand is doing.
>>but then again there was also an earthquake in Iran just a few hours ago

Noob question, what are the odds they were testing a nuclear weapon, and how would a foreign agency go about finding if they indeed did a test?
She's right though, vaccination for anyone should be weighed against the risk.

We spend considerable amounts of money ensuring that vaccinations are safe and effective, and we only recommend vaccination if they are safe and effective and if the very small risks (and all interventions have risks) make sense against the disease being vaccinated against.

In the case of measles there are considerable risks of death or life long harm, so this balancing question is easy.

Maybe we need better ways of telling people like her about how the risks are weighed up, because at the moment she has multi-millionaires (trying to sell her vitamin pills) telling her things she wants to hear and that make sense to her. Clearly we (the people who want her to vaccinate) are failing to communicate.
To extend the thought, 72 DPI has been the minimum recommended density for working at a desktop. For closer materials like magazines or photos, it was I think 300 DPI, since you might get closer. It's one of the reasons mobile screens got more dense, so that when you hold it 30 cm from your face things still look smooth.

So... if your average viewer will be farther away from this wall than a desktop user, the DPI can go down and still be attractive.

Edit: the not-science-backed chart here seems to track http://resources.printhandbook.com/pages/viewing-distance-dp...
idiot.... he was a very disturbed and a very good looking man and in my opinion deserves the right to be idolized AND LOOKED UP TO . what the fuck gives you the right to bring him down . as a lad he had a very disturbing upbringing and as for the manny character well i do believe there was a higher figure he referred to as manny because of his fascination for the film basic instinct . does not mean there wasnt someone else controlling him . i believe luka , i have kinda fell in love with him from the moment i read about this fascinating guy and hed be welcome in my life anyday . i also believe he was framed for the animal videos . do your fucking research before you make stupid comments .

caehkoviktor
On Netflix, I found a trick to have the full dynamic range of sound: You have to keep the volume to a minimum in the netflix player, and to compensate, have the volume at maximum in your computer. I am very sensitive to the respect of the dynamic range, this is very important in order to have pleasure listening. It is the same problem with photos and video games : In an "HDR" treated image, the sky is much to dark, leading to a non realistic image.
EPO and UKIPO Refuse AI-Invented Patent Applications
Eh. The police used spyware which relied on a vulnerability in WhatsApp. And then the vulnerability got fixed.

Am I supposed to feel sorry for the police now? Should we not fix security issues because law-enforcement may be relying on them?
So does ClojureScript and Figwheel.
This is a 30 year old story. It’s not big political news.
Adults are responsible.

I’m not trying to change their minds.
No, it's not compression at rest. What GP is talking about is the encoding of recipes for acquiring skills rather than encoding the skill itself. The end result is that the skill is acquired, but the skill is not latent in the genome, so your .gz analogy doesn't hold. It's a compression that has access to a vast existing dictionary and makes better use of it then some other.

The information develops through the expression of the phenotype in the environment, but it can't be said to be latent in the genome. This is what one would expect given what we already know about biology and Turing machines. The difference is the Turing machine here doesn't start with an empty tape -- far from it.
I think you might be onto something here. Will start looking for my tinfoil hat, while you keep us posted.
I'll go with the consensus opinion, then. "Heebie-jeebies" it is :)
I'm not an Elixir expert but doesn't not using releases come with pretty big down sides?

I vaguely remember reading that a release will pre-load all of your modules at boot up time so that by the time the app is running, everything is as optimized as it can be.

But if you use mix without releases then everything is lazily loaded, so unless you had extra code that gets run on deploy to curl all of your endpoints (to warm up the VM) then users would experience slower load times as your app's endpoints were naturally discovered?

It makes me wonder why the creator of Phoenix still decides to not use releases. Unfortunately he didn't go into detail.
My understanding is MicroLED offers the best of both worlds of OLED and LCD. Each pixel can be turned off entirely like OLED (so perfect blacks) and since there are three individual LEDs per pixel (RGB) you don't need any filters to get the desired colour so the brightness is much better than OLED.
Especially with an article of buzzfeednews trending about fake news for hire.

https://www.buzzfeednews.com/article/craigsilverman/disinfor...
I barely touched Smalltalk, but I think people value liveness as a feature for the user, not the developer. This is basically ultimate customization: you can change the source code of your local copy.
Well depends on the country more than company, doesn't it? I have 34 days PTO this year, which is not out of the norm for my peers and broadly in line with previous employers.
There are lots of things it's perfectly fine to do or not do; that's not the issue. When it comes to competition, you must take advantage of every edge you can get. And when you're seeking a position, you ARE in competition.

As an individual, there are a number of edges that you can leverage to your benefit: raw talent, acquired skills, shipped products, your network, and politics. Which ones you build and practice is your own affair, but for your future's sake at least build SOME of them.
Don't both originate from the fact that (some) early keyboards had the arrow keys on HJKL?

https://stackoverflow.com/a/29243081/1891877
Do you know of similar types of tutorials / repos except for language parsers (like markdown or json) ?

How difficult would it be to implement in comparison to a compiler ?

Where should I start looking ? (I want to build a compiler at some point but I want to get my feet wet building a simple language parser first)

Thanks in advance
My first performance review was at my third job. I was promoted to lead dev in my first six months at my first job and by the time my review came up we had been acquired. In my second job I was made redundant a few days before my review.

My first review was a total waste of time, but I only learned this after my second review. In my first review I was given an "average" rating, because my technical knowledge was high, but some of my projects were late. Most of this was out of my control, and was down to the fact that I refused to work in my free time to make up for shoddy project management. I was also told that I could apply for a mid-level promotion, despite already being mid-level. I played ball regardless, and got my "promotion" and pay rise.

My second review was "outstanding", and I learned that my job title, at least internally, was now senior-level. While I was a better developer after 12 months, the only thing that had changed was that the manager that did my last review had left and my new manager liked me. The only constant was the managing director, and when I questioned what made the company decide I had gone from junior to senior within the space of a year they couldn't give an answer. Despite being given a nicer job title, more responsibility, and more money, I was annoyed at how stupid the process was.

A day earlier, one of our best developers was given a poor review. The manager didn't like him because his project was grossly behind schedule. This was no fault of his own, and he was being punished because he took on a very hard project and was ignored when he requested that we start from scratch due to the issues with the initial build. His review wasn't a reflection of his skill, because skill-wise he was way above everyone else there. His review was down to how liked he was, and whether he played "the game".

I've been a developer for a decade now, and I can't name a single review that was worth my time, because ultimately the outcome has always been obvious. I always try to be positive and to show empathy where possible, and for around 6+ years that approach has always given me solid reviews. The technical side has always been largely irrelevant, even when working with languages/tools that are new to me.
> Developers need to code after-hours in order to stay competitive

Which I think is an interesting social problem, where people feel uncomfortable not working after-hours because others do.

I am a developer. I began a secret personal experiment where I do the opposite. I take 20% of my working hours for personal development without anyone knowing. I want to see if I actually become better professional. It takes great discipline for me in the face of pressure. I keep work related tasks out of my free time to minimum. I am not always succeed in taking entire 20% time to be honest.

I also try to take short breaks to avoid burn-out.
If functional is what is needed, and C# is your only option, then this will help [1]

Disclaimer: I'm the author

[1] https://github.com/louthy/language-ext/
Agreed "A minimalist encoder with libav" would be better
This is a basic example of Google's treatment of its users. They could have offered this to users as an option to help their browsers run more smoothly, while informing the users of the extra CPU drain. Better yet, since what they're monitoring could increase user awareness of what their computers are doing, they could offer to "cc" the reports to the users. This transparency would also put a better face on Google.

But this is not what they did. I don't know what their reasoning was, but I'll perceive it as a callous disregard for the user at best.

And you gotta love the comments section. Within the first five comments, we have Google described as being a nefarious organization created by the US government, the Russians, and the Jews.
The BRLTTY way:
1. $ echo ZZ | brltty-clip -r
2. Switch to Vim and invoke the paste command of BRLTTY.
This is a sad story but how is this “hacker news?” It happened over 30 years ago. It has no relevance to what is going on today.
I usually use only Firefox, but when I need to launch Chrome to test something, this reporter tool creates a very significant load one the system in terms of SSD and CPU usage. For the last few times I have simply killed the process, but will see if any of permanent ways to disable this reporter tool really work.
Seems the article has confused cause and effect. US health care costs haven't caused poor health. Poor health has caused US health care costs.

40% of American adults are obese. Obesity causes heart disease, stroke, diabetes, and cancer. Diseases raise a person's health care costs. Costs do not make that person obese.

It's also not a head tax, because healthy people don't pay it. Obese people need to accept personal responsibility for their condition and stop trying to leech off the system.
I'll sound like a conspiracy theorist here but hear me out.

The anti-vaxx movement is a successful underground propaganda attack by the Russians to weaken the population. They are also behind the election of unfit leaders and anti-European (read: anti-unity) sentiments, or more broadly speaking, making people argue about internal affairs so they're no longer a strong front against the outside world.

Where's the state funded counter propaganda? There used to be propaganda posters that portrayed not vaccinating as un-American and / or working with the enemy.
And completely fucked it by the looks of it. I'd take iTunes back over that mess any day.
That's because blowing up asteroids is sexy, but hardening the grid is work.

You can't make a movie out of the latter, so nobody cares.

See, also, why people love sexy non-solutions to problems we don't have (let's colonize Mars), but turn their noses at solving real problems, which affect billions of people (climate change). You can't make a slick film about a superhero convincing people to cutting back on their energy use, and to carpool, or bus to work. It's not sexy.
> A team of European law-enforcement officials was hot on the trail of a potential terror plot in October, fearing an attack during Christmas season, when their keyhole into a suspect’s phone went dark.

There was no terror attack. Why is this the framing of the story?
You need a Makefile in your project
The effect is the same, does not really matter what causes the current gradient in the ground.
Calculating SHA256 is neither O(1) nor cheap.

Your idea is interesting and might be useful in some applications! But calculating a SHA256 takes time linear in the length of the thing you're hashing. Even if you assume fixed-size keys, SHA256 isn't fast. It's not designed to be fast.

You'd likely need an extremely high N before O(N) SHA256's is faster than O(N log N) comparisons.
I think the at-home project thing is perhaps a poor example. A person who does any number of things outside of work to refine their skills (which could be a passion project), would be expected to advance their career faster than somebody who only put any effort into their skills 9-5. Only some employers will care about personal projects, but all of them will care about your marketable skills.
Build an Autonomous Racecar in JavaScript in the Browser
Kids today are so spoiled. :P I remember back in my Ericsson days when an incremental build would take 40 minutes, and then another 20 or so to load the resulting 100 MB monolithic executable onto hardware and boot it up. That kind of turnaround time teaches you to think through your code thoroughly, and use the type system to catch bugs early.
As someone who has interviewed a lot of people, those projects do count. If you're leaving them out of your job applications, you're probably hurting your prospects.

I'd say to describe them exactly as you have here. The very fact that you're motivated enough to do them is a point in your favor, and if the code looks decent, that's more points.

If I compared you to someone else with the same resume, I'd hire you over them.
I'm thinking, a more accurate picture would be that the American cauldron also doesn't need any devils: the few that manage to get out will conspire to make sure the others stay in.
Am I the only one who thinks terrorism incidents are really rare, and perhaps our government's efforts are perhaps better focussed on more common crimes, like car thefts, muggings, etc.
Some more anecdata - but in the 'enterprisey' world whenever someone is talking about moving some existing stuff into the cloud, they are always moving to Azure.

Microsoft knows how to sell to those sort of customers, so it's entirely plausible that they have extended that reputation and sales approach to Azure.
I’ve never had anything close to this experience with Webpack. In my experience all the magic “it just works” of incremental updates and live reloading is extremely fragile and just gives up silently all the time in large-ish projects. Adding to that, it’s incompetent at what’s supposed to be its core feature: bundling JavaScript modules. I would count it among the least reliable software systems I have to work with regularly.
Insurance is not a current product offering? I think you're trying to pitch a financial product without a deep enough understanding of finance as a concept and perhaps as an industry.

If, for example, Hertz wanted to stop requiring a $250 deposit on vehicles and instead take a $22 fee, they could approach any large insurance company and find out if they would underwrite it. That company's actuaries would assess the risk of a typical Hertz customer and either say that, yes, $22 is enough to cover losses, or no, it needs to be higher.

In fact, Hertz may already do this. A $250 deposit is incredibly low for someone renting a $20-40k vehicle with nothing more than a driver's license and credit card.

Source: I'm a partner in an insurance startup.
> CES hasn’t been relevant in the past decade. Why would we care?

And Vim is? When there are editors like VS Code?
"...if the right kind of people begin to believe it was arson, caused by deliberate action, the threat that more arsons will be committed increases drastically.

What separates the Stand Alone Complex from normal copycat behavior is that there is no real originator of the copied action, but merely a rumor or an illusion that supposedly performed the copied action."
It's on YCombinator, which is a startup accelerator
'Guys ask for more money': why female-led startups underperform
Spotify rents music that it itself rents from 3 companies that own most of the music. Why would those 3 companies not just raise their rents if Spotify starts making a decent profit?

Spotify has been around since 2006 and just eked out a tiny profit last year. Unless they plan on owning music themselves, I don’t see why the music owners wouldn’t try to capture most of the profit.
This is incorrect, at least in the UK.

WHO provides information about which strains to use based on recent data about which flu variants are circulating.

https://www.cdc.gov/flu/prevent/vaccine-selection.htm

https://www.who.int/influenza/vaccines/virus/recommendations...
Click bait indeed. It does in-fact not scan your PC for _all_ executables.
>a successful underground propaganda attack

You could make the exact same argument about the ecological movements opposing nuclear power generation. Not sure if that goes along, or perhaps across, the point you are making.
I believe the solution to this lies in using Rust and SIMD. It will achieve both performance and safety.
I'm not defending the practice, but 'scanning for all executables', is false.

'Scans all folders related to chrome' is true. Title is flat out wrong.
Huh?

I do procedural music in JS/web audio, and my projects are set up so that changes to the logic and instruments all happen live, while the music continues to play.

How is that different from what you're describing? What specifically can't webpack/HMR do?
I am convinced that in order to become a Facebook executive you must undergo a psychiatric screening and confirm that you are a sociopath.
I was about to say "the example in the post is sorting so it's n * log(n)".

Upon thinking about it, the example is comparing the relative speed of hashing every item (O(n) * O(1)) == O(n) and sorting (O(n * log(n)).

That means the ratio of these two is a log n factor n * log(n) / n == log(n).

good point.

As a side point, I think the main point of the post is that the time taken for the hash solution, increases at a greater rate than the sort + unique solution. Now, that doesn't make sense with our big 0 notation.

This is because we don't have a simple hashmap, what we have is a dynamically resizing hashmap, which we don't set a capacity on, and the resize operations are order n. Now, how often can we expect to resize? I think most hashmaps double their capacity, so there will be log(n) resize operations that each take O(m) (where m is the size of the hashmap when it needs to be resized).

Now at this point, I can't be bothered to think further about it. That feels like it should be less than O(n * log(n)), but it's kinda close. Either way, it's definitely larger than the simpler O(n) case we're thinking about.
Easiest way for me is ESC (just to be sure we are not in insert mode), followed by `ZZ`. (`ZQ` if you don't want to save)
I still find it amazing how in 2002 — long before Facebook or YouTube existed — they got so much right about the emergent properties of social media (the Stand Alone Complex piece). It’s a brilliant metaphor that just so happened to predate it’s subject by a decade.

The anime has some problems; namely pacing and the density of narrative. There are two episodes dedicated exclusively to exposition with no action, and they can be really hard to follow due to the mediocre translation. But if you can see past the very real flaws, there is a gem of a story about the nature of what it means to be human in a connected society.
Globalization of Fertility Tourism
modm.io looks interesting, thanks. Unsure I agree with the premise that using a value line 32 bit MCU implies a "deep focus on price". To me, that would mean something like EM78P173NSO MDT10P509S11 SN8P25D HR7P155 PMS150C or https://en.wikipedia.org/wiki/Electronic_packaging#Glop-top