skysight-inc/HackerNews huggingface dataset:
>Shadow is a firm that makes custom software for Democrats and progressives.

If I can ask, why the specific nature for their clientele? Isolating your solutions to a specific political party seems strange to me especially if the emphasis on making money. If anything, money normally supersedes political leanings at the end of the day which makes the whole fiasco even stranger to me. Wouldn't you want to provide a solution for both parties by default? Not doing so seems nefarious on it's own.

It sounds like pairing products with political leanings is not a good business decision? Which may explain where all the 'hate' is coming from - it's just bad business and sows the seeds of doubt in their credibility in the minds of many.
Hard to say, but not necessarily a great example; exploits on software are a function both of attack surface / complexity and installed userbase (i.e. nobody bothers to see if lynx is pwnable because a zero-day against that browser will be worth, what, twenty bucks to gain access to the five people who use it?).
+1 to foodwishes. Most of my cooking knowledge comes from those videos. One thing that's hard to get from recipes is the actual cooking techniques, e.g. how loud onions should sizzle when you saute them. Foodwishes is great for learning and entertaining as well.
https://news.ycombinator.com/item?id=22217960
> Universities believe their focus should be on timeless principles, and expect that students will supplement their instruction as needed.

Why the arbitrary distinction?
Why have teachers at all? Surely the students can learn the timeless principles on their own as well.

What matters is where teachers can add value. Sure, you don't need a tenured prof walking students through
Intro to Vim and Bash and By The Way GDB Exists", but you do very well to have a TA run a practical lab to teach these things.
like youtube.vg that is available ?
I don't know whether I heard correctly or if the number was accurate, but I heard someone throw out $60k as the amount paid for the app development this morning on the radio.

That sounds like a lot of money to a lay-person, but assuming $100/hr, which seems like at least a reasonable ballpark rate, that breaks down to 600 man-hours, or 15 man-weeks.

That is a very tight deadline to turn out a critical app like this. Especially since I assume it wasn't just a single person doing the coding.

People don't realize that software is expensive and a custom built application is probably not the correct choice for a single-use product. I'm sure whoever was in charge felt that $60k was a quite generous offer to build this. In reality it's basically nothing.

I used to have acquaintances approach me and say, "Hey I've got this great app idea you could help me with."

The response I found shut them down real quick was, "Great. Do you have $100k lying around to get the first beta out the door?"
> And Moore's law ensured that the high end destroyed the low end over time.

Well, I'd say more the middle road won here; the high end was not PCs, but (UNIX) workstations. IBM PC was after all contemporary to SGI IRIX, SUN-1 (and -2), and Apollo computers.
And elections had more integrity before electronics?

https://en.m.wikipedia.org/wiki/Box_13_scandal
Kids and adults named Alexa are being teased and bullied and Amazon won't help
Java proves that limiting language features for "simplicity" just pushes the complexity somewhere else and generally much worse.

C++ is usually taken as a language with too many features but really it just has a few very flexible features and people abused those features to do all kinds of metaprogramming. As C++ has been adding more native metaprogramming idioms it has actually been getting simpler to code in.
https://news.ycombinator.com/item?id=22236577
There were some confounding factors, like an apparent day-of decision to require the caucuses to report the results of every vote cast, not just the last one. This led to considerably higher data requirements in precincts where multiple votes were necessary to reach consensus. The new requirements were apparently not reported to the staff until around noon on the day of the election.

As anybody can tell you, nothing sinks projects faster than changing requirements late in the development cycle.

The app also sucked for another reason. Lots of Iowa is rural and cell coverage can be spotty. The app was designed with the all too common assumption in this day and age that the Internet works everywhere.
To help other readers:

"The European Commission maintains this website to enhance public access to information about its initiatives and European Union policies in general."

https://ec.europa.eu/info/law/law-topic/data-protection/refo...

"Home > Law > Law by topic > Data protection > Reform > What is personal data?"

"Examples of personal data

...

- an Internet Protocol (IP) address;"
Nothing you wrote contradicts what I said. You can't implement "make" in Go. The fact that you can implement some approximation of it with a worse signature and worse runtime behaviour (since it won't be compiler assisted) doesn't make it "make".
Waze has a feature called "Avoid difficult intersections" designed exactly for these situations.
https://www.pcmag.com/news/waze-wants-to-help-you-avoid-diff...
Why is Compilers an entire course? Databases? Operation Systems? All of these topics are covered in books you can read.
Dealing with Inconsistent Company Name Data
> context switches between JVM and native code are typically fairly expensive

Aren't these Unsafe memory read and write methods intrinsified by any serious compiler? I don't believe they're using JNI or doing any kind of managed/native transition, except in the interpreter. They turn into the same memory read and write operations in the compiler's intermediate representation as Java field read and writes do.
The crazy thing about space is we are actually losing access to an in-perceivable number of galaxies due to the expansion of the universe and those galaxies moving outside of our light cone.

Each day we wait to explore the universe, millions of planets effectively cease to exist.
Absolutely, but look at the marketing speak of this thing, it screams hardcore gamer, because that's nVidia's normal audience. Are they unable to fit the message to the actual audience? Or are they hoping to hook hardcore gamers with this? I can't tell.
This is a confusing take on lift. To explain lift intuitively we need two ingredients: the Laplace equation and the Kutta condition.

Most people have an intuitive understanding of the Laplace equation. For example lightning usually hits the peak of mountains. The reason is that in solutions of Laplace equations, field gradient is proportional to curvature. In fluid dynamics, this field is called the stream function. The top of airfoil is more curved than the bottom so the stream function gradient is higher on top which results in higher wind speeds over airfoil.

But the second ingredient is the Kutta condition which represents viscosity. If there were no viscosity, there would be no lift. The Kutta condition is applied to the tail (trailing edge) of airfoil. Without Kutta condition, the speed at the trailing edge would be infinity (because of Laplace equations. Speed around sharp corners is inevitably infinite). Viscosity prevents infinite velocities so we apply another condition at the trailing edge to make the air velocity smooth.

It's kind of complicated and I agree that there is no simple explanation to lift, but if you think about it for a little while, it's not that hard to grasp.
I just added jumping as the fifth type of exercise. I am not sure how it will be received by the players, but I think with all the different movements the game currently has it could also be a fun party game where people can make fun of themselves for jumping around like mad, not just an exercise game.
same, except Trello got my ProjectM heart
It would be great if your post added value in the discussion.
this will fly over so many HN heads

love it
Archivists Made a Directory of 5k Coronavirus Studies to Bypass Paywalls
I work in machine learning: your statement is questionable -it worked fine 20 years ago. DL is nowhere near the "breakthrough" people act like it is; the actual real world applications of it that non mentats might use appear to be the null set. And yeah, I don't count the corporate propaganda material about "autonomous cars" or whatever to be evidence to the contrary.

Genome research: so far a big nothing burger. Zero impacts on average people's daily lives. The entirety of genome research results on the real world seems to be enabling people to eat more sugar without dying.

Space flight reusability: dude, where's my space shuttle? Falcoln 9 isn't reusable when using its actual cargo capacity, and isn't cost effective when it is reusable; no game changer there. Neat trick though and it certainly looked cool.

Environment getting better: citations needed. Doom porn abounds at the very least. Maybe they're all lying about melting polar caps, plastic in the oceans and insane levels of chemicals in the eco system.
Well that’s why I factor it in as a donation to Firefox instead of paying for the features (which I agree with you the price point is way too high for what you get).
Great timing: I just finished “Objectivity” the book she co-authored with Peter Gallison. It is a phenomenal work on the history of science, looking at the development of the concept of Objectivity throughout the enlightenment through the lens of scientific atlases. Her writing is beautiful, concrete and lucid. Highly recommended to any Hacker News readers.
This requires a login.
It is not dubious advice. It's disingenuous to frame it like that. And more importantly, it is not only a matter of license issues. Changing where you host the content won't change the risks Google lawyers put force. Stop spreading FUD.
Yes it comes across really unprofessional and adds nothing. It is really OK to not have any images in your blog post if it is is good!
It would be great to view an example without granting access to Github account.
I use Peloton Digital/Freeletics type apps where they tell you how to work out properly and build workout regimes for you but...on the phone.

I'd love to have it overlayed over the corner of my eye while I'm working out.
Discussing sources is tricky business for journalists, but given the pushback, it seems like at the very least Bloomberg should have conducted some follow-up investigations.
Yes but then you loose the bulk discounts. Getting 2 days (for one person) worth of veggies, meat etc isn't much cheaper than eating out. Plus the time spent doing the grocery shopping 3 times a week, with the time to cook the individual portion, then cleaning up for me just wasn't worth it. Individual preference obviously, but just didn't make sense for me most of the time.
Should a company's employees/CEO have to be apolitical? I'd be surprised if there is such a company where none of its employees are involved in politics in any way. Especially if its a company whose sole purpose is developing software for a political party.
Checked their LinkedIn and the employees who work there. The founder is non-technical and there are two developers: one who is a "back-end intern" and the other is a front-end developer (both are fresh from bootcamps).

...Yikes.
There's a number of ways to tweak the algorithm, e.g. by generating multiple hashes per endpoint and then distributing them around a unit circle.

I've seen this used to consistently allocate customers to a particular set of servers, not just ensure you are hitting the right cache. It doesn't fully solve the subscription issue where multiple people are in multiple channels, but it could probably be used as a building block there.
C# isn't too hesitant to introduce new keywords because it supports contextual keywords.[0] Many C# keywords are also valid identifiers. In this case, using `match` in place of `where` probably wouldn't have introduced any incompatibilities.

In fact, `where` isn't a reserved keyword, either--you can have an identifier named `where`.[1]

To an existing C# programmer, `where` makes a lot of sense, since it's used for matching elsewhere (e.g., LINQ).

[0]: https://docs.microsoft.com/en-us/dotnet/csharp/language-refe...

[1]: https://docs.microsoft.com/en-us/dotnet/csharp/language-refe...
Anti-solar panel can generate electricity at night
This is a caucus not an election. The democrats have never used paper ballots (as far as I know - my history is short though). The republicans still use hand counted ballots.

Either way in a caucus you are NOT electing a president, you are just choosing a delegate who goes on to the national convention where the president is chosen. There are rules so that the caucus results feed who is supported at the national convention, but there are ways around those rules if you want to go to the national convention and then support someone who wasn't even running in the first place - though you pretty well better be assured of a win before you think about trying those tricks as the media will go nuts. (the same rules exist in primary states, technically there is a caucus somewhere that chooses the delegate to the national convention who can then vote for someone else)
Fyi, Your own link has "UN Chief Inspector Hans Blix" rebutting the Powell speech. That's before the invasion and after the speech of course...
> It's astonishing how many developers rely on logging/print statements for debugging

http://taint.org/2007/01/08/155838a.html

> While reading the log4j manual, I came across this excellent quote from Brian W. Kernighan and Rob Pike’s “The Practice of Programming”:

>> As personal choice, we tend not to use debuggers beyond getting a stack trace or the value of a variable or two. One reason is that it is easy to get lost in details of complicated data structures and control flow; we find stepping through a program less productive than thinking harder and adding output statements and self-checking code at critical places. Clicking over statements takes longer than scanning the output of judiciously-placed displays. It takes less time to decide where to put print statements than to single-step to the critical section of code, even assuming we know where that is. More important, debugging statements stay with the program; debugging sessions are transient.
Firefox Preview Nightly with uBlock Origin Support Released
I'd rather use this than the visitor pattern.
> I think every nation needs a 'caretaker' Pres/PM from the bureaucracy - someone who can clean out the cobwebs

Like Stalin?

https://www.theatlantic.com/magazine/archive/2014/11/underst...
For what it's worth, my cooler settings were broken with MSI B450 BIOSes (I've got a Mortar) from the point they shrunk the code (with the new UI) to make room for Zen 2. But the last BIOS with the old UI is perfectly fine
Isn't that indication of a failure? It seems like Go aimed to replace Python and Java code at Google.
Only if embedded in the cost function or the specific implementation.

AI has no concept of morality.
I am not downvoter, but you should learn the history of the language.
Most of the concepts in the language were first implemented long before Google even existed, for systems that were very different from modern ones.

It was made by people who had been designing languages for about 40 years now. While some design choices seem weird, they usually have very strong argumentation and solid experience behind them.

Also if you read the list of problems tha Go is intended to solve, you will be surprised how common they are in software development.
Truthfully I dont think there is any reason for a regular person to deadlift. It's a pretty high risk exercise and you can hit those muscles groups with different exercises. If you are hard set on deadlifts though I recommend the hexbar deadlifts to reduce the chances for injury.

https://youtu.be/TU2xZ7s4jus
https://news.ycombinator.com/item?id=22235756
> In 1967, Mao’s Red Guards took to the streets determined to root out the ‘four olds’ of traditional Chinese culture, killing hundreds of thousands in the process.

There’s a lot of parallels to Mao and what we’re witnessing in culture today. Another example is Mao’s use of “thought examinations” to consolidate power and influence.
ARC, used by Swift, has its own cost.
The lovely thing is that there's no symmetry required here. Excluding someone because they're intolerant/obnoxious/etc is very different than excluding someone because of who they are. It's perfectly consistent to consider it morally wrong to exclude someone because of who they are, and simultaneously consider it not wrong to exclude someone because of their prejudice. Those exclusions are not equivalent, and do not need to be treated as such.

https://en.wikipedia.org/wiki/Paradox_of_tolerance

If you are looking to argue against that, feel free to do it with someone else.
Just a quick reminder when considering Intel products... if it ain't Mama x86, it won't be around very long.
“Individual” and “collective” is a fundamental/metaphysical concept. General purpose AI probably will have a concept of individual influence/veto among its “nodes” so that it is capable of self organizing and reorganizing.

It remains to be seen if corporate-like structure is something it surpasses, but complex systems seem to usually have orders of influence, and multiple hands on any given wheel.
not going to look at an example on some random website where i'm asked to enter any of my credentials.
Hey, I'm really glad you asked, and I'm happy to share. The reason that most people start companies in politics is because they have strong political leanings. You do it because you believe strongly in something or someone and want to support it, even if it pays less or sucks.

Even if you wanted to cross the aisle, it would be hard. If you work for Democrats, Republicans will not work with you. If you work for Republicans, Democrats will not work with you.
It also doesn't support some dried up crusty .NET functionality like webforms either (it compiles it fine, but doesn't have the code generation tools that VS has )
previous https://news.ycombinator.com/item?id=22216821
Hey, I'm the author of this blog post. Thanks for posting it whoever did.

I wrote this a long time ago, it's mostly targeted at Lua 5.1 but more recent versions of Lua approach function environments differently, so keep that in mind.

I've written & worked with quite a few HTML generation DSLs at this point. I put them into two groups:

1. Nested object return: the object is converted into HTML after executing the template

2. Evaluate and write to buffer: no return values, each "tag" is a function call that generates code in a background buffer (nested html typically accomplished by blocks or inline functions)

Approach 1 is what was used in this blog post. Approach 2 is what I ended up using for my web framework: https://leafo.net/lapis/reference/html_generation.html

Approach 1 is used by React. Approach 2 I first came across in a library called Erector: http://erector.github.io/erector/

I prefer approach 2. It lets you use your programming language constructs to do things conditionally, in loops, or whatever else your language provides.

I find that with approach 1 you tend to try to bend the language to convert everything into an expression that can be returned into the nested object you're building. The example I have off the top of my head is how React devs will write some pretty nasty ternary operator expressions just to write some HTML conditionally directly inside of a JSX chunk. (The alternative would be pulling things out into temporary variables, which just creates a lot of noise)

As a fun aside for how far you can take things, for my implementation of approach 2 in my web framework, I ended up writing a syntax transformer that could pre-render static HTML chunks to plain sting that can be appended to the output buffer. Essentially removing those function calls and any HTML escaping that would be necessary during evaluation time of the template.
Sorry about that! You shouldn't need to be logged in to Github to view a tutorial on a public repo. Can you try again now? We've fixed this and just pushed a fix!
Yeah it's not Agile's fault but it's a tool that makes it easy for bad mangers to squeeze every last bit of productivity out of people in dehumanizing ways through the power of the velocity curve.

At least in the past bad managers had no access to such tools so their power to harm was limited a bit.
Two concerns:

- I'm unconvinced that hyperlinked websites are a good idea as a primary format for research. Research needs to be accessible in perpetuity. We've proven atrocious at keeping websites available and software running.

- Lots of properly structured footnotes and labelled photos are, as I mentioned earlier, a large timesink. Writing papers is already a substantial time investment, which both distracts from other research and can dissuade researchers from publishing more minor results.

Both of these are superable for the right reasons (e.g. CS research by its nature needs digital components), but adding material because photos are cheap isn't to my mind the right reason.
Resharper spell checks in VS for me too.
The Google employee argues that through UA-CH Google wants to disincetivise "allow" and "block" lists.

After many years of testing HTTP headers, IMO this really is a non-issue. Most websites return text/html just fine without sending any UA header at all.

What is an issue are the various ways websites try to coax users to download, install and use a certain browser.

Another related issue with Google Chrome is users getting better integration and performance when using Chrome with Google websites than they would if they used other clients. ^1 Some make the analogy to Microsoft where it was common for Microsoft software to integrate and perform better on Microsoft Windows whereas third party software was noticably worse to integrate and perform on that OS.

This leads to less user agent diversity. Users will choose what works best.

UA diversity is really a more important goal than privacy, or privacy in Chrome. The biggest privacy gains are not going to come from begging Google to make changes to Chrome. They could however come from making it easier for users to switch away from using Chrome and to use other clients. That requires some cooperation from websites as well as Google.

Those other clients could theoretically be written by anyone, not just large companies and organisations that are dependent on the online ad sales business. It would be relatively easy to achieve "privacy-by-design" in such clients. There is no rule that says users have to use a single UA to access every website. There needs to be choice.

For example, HN is a relatively simple website that does not require a large, complex browser like Chrome, Safari, Firefox, etc. to read. It generates a considerable amount of traffic and stands as proof that simpler websites can be popular. Varying the UA header does not result in drastic differences in the text/html returned by the server.

1. Recently we saw Google exclude use of certain clients to access Gmail.
prev: https://news.ycombinator.com/item?id=22216821
Yes, but that's because the mobile games industry is churning out freemium, addictive, whale-catching monstrosities that are either glorified slot-machines or pay-to-pwn games. The people who put money into those kinds of games are not the target group for this either.
I don't really understand your post. Did you mean the US's mean income is double that of France's median income? I think[1] that's factually correct. I'm not sure if it's meaningful though.

Also, my intuition suggests that if the mean and the median are further apart ([1] suggests France's mean and median are half the distance apart as the US's) the French income curve should be mostly above the US one. Could you point me to some graphs?

[1] ten minutes on wikipedia.
You're just another cog in the machine, man!!!