skysight-inc/HackerNews huggingface dataset:
Why is this tabloid crap being posted and upvoted here?

Author clearly envious/jealous of teenagers making more money than him and spending it differently than he would. [ READ MORE ]
Sounds like the vacuum cleaner guy from Breaking Bad.
There is another cost, if you try and fix a bug and break something else. If your codebase becomes so brittle that you feel like you can't do anything without breaking something else, that makes it unbearable to keep going with that project.

Having said all that, I find that it's better to avoid doing some unit tests when building your own project. It can be better to do the high level tests (some integration, focused on system) to make sure the major functionality works. In many cases, for an app that's not too complicated, you can just have a rough manual test plan. Then move to automated tests later on if the app gets popular, or the manual testing becomes too cumbersome.

It's still good to have a few unit tests for some tricky functions that do complicated things so you aren't spending hours debugging a simple typo.
Do software engineers really put dollar values on all of their time?
> I am curious though, is there a reason not to just essentially duplicate the Joda[0]/Java[1]/ThreeTen[2] API?

They're definitely an influence, just not the only one.

> LocalDateTime

That's a strawman proposal that's essentially user feedback and not a part of the API. Not yet atleast.
Training GANs – From Theory to Practice
I don't expect that the usage and implementation would be the same in all languages. Just that they would at a high level have the same representations and provide the same operations.

For example, if the standard was that a datetime would be represented as separate year, month, day, hour, minute, second, time zone some languages might implement that as a struct with names fields for each of those 7 elements.

Some languages might implement it as an object with properties for each of those elements.

Some might implement it as an array with one entry for each of those elements.

If the standard called for a function add_seconds that adds a given number of seconds to a datetime, modifying that datetime in place, languages that use a datetime struct might provide a standalone function that takes a pointer to a datetime struct and the number of seconds to add.

Languages that represent datetime as an object might have add_seconds as a member function.

So if I'm a Perl programmer and know how this standard works in Perl that would not necessarily mean it is obvious to me how it works in Python or C. But it would mean I could think about time the same way in all of them. I could expect to have corresponding data structures in all of them, with the same core set of operations available in all of them.

Names might be slightly different (e.g., what the standard calls add_seconds might become addSeconds in a language that by convention uses camel case for member function names), but the point is what these functions and data structures actually do would be standardized so once I know how to do all my date and time stuff following this standard it is easy to map that to the language specific implementations in JavaScript, Java, PHP, C, and the rest.
interesting - what do you think of keeping the best photos on NAS and moving the rest to tape? LTO-8 is ~$10/TB retail and lasts for decades...
Public sector unions seem a little odd to me. The whole point of unions is to have collective bargaining power to deal with the bargaining power of corporations. That makes perfect sense... but isn't collective bargaining the point of having a democratic government?

I'm not saying having, say, a teachers' union is a bad thing. I just feel like it should be redundant.

Of course, the police are a special case even within the realm of public sector unions, because they're the ones enforcing the law anyway. It's one step removed from having a union of congresspeople, which really WOULD be completely redundant. What are they going to do? Petition themselves?
And Ubuntu still ships with ed. Some people like their "retro" tools that have shipped with the OS since early versions.
I'm not sure it matters. Whether Congress creates a new law overwriting the old, or passes one that tries to explain the old differently than it was executed on, if anyone doesn't object it's moot, and if anyone does, it will end up in the courts.

Particular to this case, Congress could do either, and either way the courts will have to decide whether it's fair to do. But, also particular to this case, Congress has done neither, so the courts were left with interpreting what Congress last decided.
>> (This is not the first time I've been puzzled by their pessimism on HN.)

I don't understand why you keep making personal comments like that about me. I suspect you don't realise that they are unpleasant. Please let me make it clear: such personal comments are unpleasant. Could you please stop them? Thank you.
Ah, I have a keyboard with two separate halves myself. I did try putting the halves further apart but found I didn't like it. It's probably relevant that 'hunching over' is something I tend to do even if I'm not at a desk.
Consent decrees are definitely an instance where the federal government is supervising the state, but the fact that they are doing something does not ipso facto mean that they should be doing it. This whole thread is about the differences between what governments are doing and what they should be doing.

I would argue that incorporation was the beginning of the death knell of states' rights, followed by the dramatic expansion of the administrative state in the early 1900s.
Sometimes it's no better here in the west. I know of a situation where a Chinese student fabricated every source for a paper. Completely made up everything. The professor saw right through it immediately and failed her. But the university big wigs told the professor to give the student a passing grade. The student graduated university.
At least a couple of them were English Lit majors. But I don't really disagree that well-known actors who attended university off and on are really the best examples.

That said, you might be surprised at the number of people who even go to a school like MIT and end up in journalism or something else that isn't obviously related to what you associate the school with.
Which in itself is surprising as the drug business is very much associated with violent crime.
This is an "affirming the consequent" logical fallacy. My sentence says nothing about the virtue or vice of cities.

I'm responding to "Some people don't like the rural states". Almost no one dislikes rural states for their natural beauty. They dislike them for the people.

Whether that dislike is morally wrong, or whether they should also dislike urban areas is irrelevant to my claim. All I was observing is that the people are why some other people don't like rural areas.
We have vicious gangs here that control the drug trade but they are happy to take potshots at each other and when there is a serious disagreement they take out each others leadership.

But this kind of brutal violence like a torture chamber and the stuff that you see in Mexican drug cartels (ISIS type of debauched executions) is on way another level.

It is actually bad for their business you would think.
When you go to a restaurant, you sit down, occupy valuable table space, and have staff service you by bringing the food to you, filling your drinks, and providing you with napkins and cutlery. That's why you tip.
We are using PostgreSQL templates to speed up our integration tests. This allow us to have full blown (and non mocked) databases which are isolated to each parallel running test.

We have recently open-sourced our core-server managing this (go): https://github.com/allaboutapps/integresql

Projects already utilizing Go and PostgreSQL may easily adapt this concept for their testing via https://github.com/allaboutapps/integresql-client-go
That's in the past in the US. It was true until maybe 20-30 years ago.

China today seems to put bright people into improving manufacturing technology. There are PhD theses from China on electrolytic capacitor free switching power supply designs for LED lightbulbs. US academia would frown on something that practical.
Giraffe: A Personal Conference Tool
The only thing worse than the tyranny of the majority is the tyranny of a minority (oligarchy).

Generally though, I agree with you that we should all strive to vote for the greater good. We should fight against injustices even if they do not directly affect us.

I think that many of the issues come down to differing views of what more just: IE employment opportunities for a citizen vs. an immigrant, rights of a criminal vs. a victim, autonomy over one's body vs. a potential life. Those don't have easy answers.
It's been WIP for years now. Just takes a lot of time to standardize something like this, you know...
Some video games take it a step further and say it may result in your account being banned if you are found to have filed to many false "cheating" reports against other players.
You probably just want any NO-SQL database then, not necessarily a Graph DB. MongoDB or Elasticsearch should fit your needs. The thing that is great about relational databases is data integrity, the thing that sucks about relational databases is data integrity. NO-SQL is fantastic, but if you want you data to adhere to ACID then there is simply no substitute for a relational database.
Tech's got plenty of the pince-nez set who would Just Ask Questions about a core contributor getting their spot for those reasons.

Can't blame him for being proactive about nipping them in the bud.
That's stomach churning footage of those chambers. Have we always been this evil, or are we becoming something new?
Historical entrenchment is not a chance occurrence.
NPR's Planet Money just released a podcast titled: "Police Unions and Civilian deaths".

Some of the notable quotes include:

* Starting roughly in the late '50s, Rob says, state governments began allowing police officers to collectively bargain - in other words, to join unions. This is where we found a really remarkable and really horrible result....after officers gained access to collective bargaining rights ... there was a substantial increase in killings of civilians ...about 60 to 70 per year ... killed by the police in an era historically where there are a lot fewer police shootings. So that's a humongous increase.

* One possible reason why police unions might want more ways to protect officers from being prosecuted is the safety of the officers. If an officer is worried about being prosecuted, then that officer might hesitate to shoot in a dangerous situation. [but the number of] Officers killed in the line of duty .... doesn't change after bargaining rights are granted.

* ...someone who lives in the U.S. was almost 60x as likely to be killed by police as someone in the United Kingdom. ...A black American... is about 3x as likely to be killed by police as a white person.
> Delivery services don't generally struggle to get customers, they struggle to get and keep drivers.

You might be missing a step there though. They struggle to get and keep drivers at a price that consumers are willing to pay, which is obviously tightly related to the problem of getting customers.

If they paid $100/hr, they'd have more drivers than they knew what to do with. They only struggle with getting drivers because of the economics of the customer.
Here's an archive link instead, https://archive.vn/9jx43
That's definitely the case. They always quote street values, which is ridiculous. But 2000kg is still a lot.
>Our system of government really, really wasn't designed to handle politically polarized parties. We've had partisanship forever but mostly it was about competing for patronage rather than ideology.

The first hundred years of the US tend to disagree with that statement
Stuck at Home Because of Covid, the French Discover France
If you were a local corner store and you had a disruptive customer who returned repeatedly, your recourse would be calling the cops for trespass.

CFAA violations come with 5-10 year prison sentences per violation. A little extreme for a trespasser whose conduct is otherwise non-criminal, don't you think?
https://sp19.datastructur.es/

Josh Hug's course would be a good place to start.
Lectures -- Companion textbook -- Practice problems -- Projects -- all in one place covering everything from the basic to the complex.
Modern Web Development in Java – The (Never) Complete Guide
Are you suggesting that media are pro-police right now? After nearly universally coming out in support of the current protests?

What term would you prefer? One that does not presume innocence?
An average CEO though could be spending three times what you spend for clothes. I used to have a conversation like this some twenty years ago when I worked at a big multinational company and one of my coworkers at that time was earning like 3 times my salary. His expenses for doing his work were a lot more than mine. He was in marketing so appearances did matter, I worked at programming and could go to work with jeans and a t-shirt. That's the thing with the corporate world, the higher in the ladder you are, the more of a presence you have to preserve.
> A restaurant is a brand and a brand gets to determine the pricing of their products.

But that’s just not true. Branded products vary in price on different retailers. A can of Coca-Cola can be wildly different prices in different places. Are you not used to this as a consumer?

> Having a 3rd party, which may still add value to both the brand and end-user, interject and abstract from the brand's determined prices is unethical, period.

I don’t understand - have you never bean to a supermarket or a department store before? They sell other brands in their store. Do you not realise they’re also marked up?
Well.
That is the reason for Certificate Pinning.
And these days there is no excuse to not enable it server-side.
Helped me detect some MITM-Interceptions.
Not that the content was malicious (OpenDNS just rerouted my requests to a "This site is blocked page", but the certificate was signed by Cisco, and thus valid. Certificate Pinning still picked it up. Little hint: It was an Archlinux-site.).
I was thinking more along lines of a passive crossover network that would be a pain to build. If the whole thing is digital with dedicated amps per band, going for as many as possible is going to be more ideal as you can just divide things up in DSP software and automate it to a large extent.
Why? I am agnostic with regards to public sector unions, but I'm pretty convinced that unions for people who exert force on behalf of the state are always bad.
What's scary about the posts above is they're making the claim that you are not capable of identifying yourself as an oppressed class.

Step-aside and let them be your hero! /s
I agree completely. I really think the current state of affairs is the only likely conclusion of a winner takes all system in a society with instant, nationwide communication.

Not voting for someone who can win is "wasting your vote" so people won't do that. Which, essentially, locks us into two parties. When the two parties know they are safe from a third, they're naturally going to be driven by the extremes and not the middle ground, because the national, fast-paced media lives off controversy between the extremes, which just ratchets it up farther.

IMO, the fact that we had political parties rise and fall (via third parties) in the past was more a historical artifact of not having a national, near-instant media to make sure things were polarized the same way nationally, nor could they let you know that a third party vote was a waste. In a sense it was more like local politics today, in that things weren't uniformly hyper-partisan, and a third party could make headway regionally and become a real contender before the rest of the country knew they were a wasted vote.
It honors robots.txt, even retroactively across changes of owners of domain names.
You clearly didn't understand my meaning. I suggest re-reading what I wrote, and then think about the "90%" figure.

I'd flag your insulting "stupid conclusion" statement, but I'm sure someone else will do that for me.
Libtorrent Adds WebTorrent Support, Expanding the Reach of Browser Torrenting
Amazon will start displaying 3rd party seller names and addresses on its US site
Date is "broken" in that it aged pretty poorly, has a very non-ideal API surface and exposes developers to a number of footguns, that could, ideally, be avoided.

The fact that a vanishingly small percentage of JavaScript developers use Date for non-trivial applications is a great indicator of these failures.
Dupe: https://news.ycombinator.com/item?id=23779175
Google, Mozilla, et al. should make a commitment to revoke the trust of any CA that is found to partake in behavior like that. Even retroactive revocation of existing certificates shouldn't be off the table if the offense is egregious enough.

It's actually pretty scary seeing just how many CAs are in the list of trusted CAs on any given device. While no government is beyond reproach, I do wish there were a way for me as a user to say "don't trust anything signed by CAs outside of these few countries, since it's most likely a hijack, phishing, or in the rare case that I did try to visit some random site, I can approve it manually."
One is certainly worse, but adtech isn't exactly creating social value either.
IMO this whistle needs to be blown because as who knows how many dangerous engineers, doctors, or whatever other safety critical professions are being graduated.
It's a question of tradeoffs between professional accountability and improved working conditions in a given field, based on factors like how bad things can get in that field without accountability, how well (or poorly) employees are currently treated and paid, how likely employees are to take advantage of unaccountability, etc.

People very much care about accountability when it comes to law enforcement, because compared to regular employees in most fields they have very direct and outsized power over society. And police aren't exactly underpaid either.
Why do you dismiss the unconscious search that humans do in Go? Having learned Go some years ago it is such an exciting thing to realize that with practice the painstaking process of consciously evaluating the myriads possibilities of moves gives way to just "seeing" solutions out of nothing. You can really feel that your brain did wire itself up to do analysis for you at a level that is subconscious but interfaces so gracefully with your conscious cognition that it is a real marvel.
Yep that was the one! Thank you
It's similar but in my opinion with every release Microsoft makes their products slightly more unintuitive. This version of Paint is far simpler to view and instantly know what to click to get what you want.
Boom supersonic jet readies for rollout
Data point. Let your kids pick their own names. Naming something gives you control over it. Who doesn't like to be in control of their own lives?

"What's your baby's name?"
"They'll let you know when it suits them, thanks!" :)
Why would you do that? If it runs in a web page, it could be condensed to a single .html file.
was an intern at nvidia. He's very approachable and all interns are invited to his huge ass california house. I saw came out of a meeting and just said hi to him. He's pretty much an engineer just like everyone except he's a CEO and he doesn't have that douchebag vibe like most tech CEOs are.
I'm pleased to hear so many comments saying this.

I don't think this style of writing is appropriate for engineering. This is computer science, and even in marketing posts like this one we should be reading analysis of performance benchmarks along with pros and cons.

I'm immediately skeptical of technology that takes this marketing approach.
ZFS is very robust, especially in a mirrored setup. Compared to your sync setup, with ZFS you could have snapshots, which would let you rewind back to earlier versions of files. This is a good mitigation for ransom ware attacks. You also get bit-rot protection, where you know what you read is what you wrote. Without this protection, if a file gets corrupted on your primary drive, this corrupted file will get synced to your backup drive. ZFS helps with both of these and a mirrored setup would give you a boost for read IO speeds.

Of the many ways storage can get complex, I've found ZFS to be one of the most straightforward.
Yes. I liked Merlin Mann, so I listened a lot of his stuff. I also liked ATP and CGP Grey's two podcasts.

It was fun a couple years ago.

As things get worse, it's less fun.
There were two lines held up for mocking.

The first one described relational DBs as a software engineering fail. That's patently absurd. (If that's failure, what would success look like?)

You addressed the second one, which is slightly less absurd. You were taught relational DBs because they are enormously widely used. And why are they used so widely? Because they work.

What the article should be saying is, "Here's this approach that works better than relational, and here's how and why it works better." Mocking relational DBs, as if they had been a failure, just makes the authors look clueless.
Copying and pasting a note I wrote when I cam across this on Twitter [1]

For the sweepstakes aspect, not considering the splits for larger prize money, the expected value is ~ $0.02 for every $25 you put in.

The APY here seems to be 0.2% which seems to be lower than Ally which offers 1.1%.

Though, the aim seems to be to “gamify” baking.

[1] https://twitter.com/adithya_balaji/status/127593565571819521...
Two things I dislike about the new Paint are;

1. Can't select secondary colour with right click

2. Needs way more clicks to get a filled Rectangle
Would you rather be pulled apart by four horses?
They can, but they don't want that increased charge to be shown to the customer, they want the restaurants themselves eating that cost so the prices stay artificially low from the end users perspective.
I would have hoped it could be taken up by the people.
I thought so at first, but then I look at the comment history, and some doubt seeped in.

I'm honestly not sure if you're right or not. I often can't tell anymore.
I would much rather learn from somebody who has done it professionally at a very high level than some academic (or worse, a wannabe academic) who is all theory and no results.

You see no value to taking a music theory class with a platinum artist in your discussions on song structure? Or maybe the rock star wants to expand his horizons a bit and is also in your Ethics class discussing the effect of Napster on his ability to afford tuition. Or maybe he sits next to you in Econ and wants to use his experience in the music biz as the basis for your group project. etc, etc...

Forget the exam nerds, I'll take the real players every time. YMMV
This is awesome! I Still use Paint.Net in my VMWare emulator. There's some things in Paint.Net I really like including Crop to selection and things involving layers. If you ever plan to expand to include that, I'd be all ears!
Tor might not protect anonymity effectively in that case, but in the case given it would still offer protection because of the way the relay circuits are designed.
I learned basic SQL in a few weeks in my twenties. The knowledge of it lasted me 2 decades.

I regularly learn new technologies and I can use them immediately. Things like ELK (ElasticSearch), React, Golang, modern JS.

For some reason, trying to learn DGraph and graph databases in general has always been very difficult for me. I wanted to like them, but just about everything I want to do can be done more easily with a relational database. And RDBMS tools mostly just work. Setting up DGraph was a freaking nightmare. I think you need a minimum of 3 Docker containers to run it and I'm not even sure what each container is actually responsible for.

If they want people to use this, I think DGraph should make their stuff easier to use and give us some better tools.