skysight-inc/HackerNews huggingface dataset:
This reminds me of a problem that was on the entrance examination to the University of Tokyo in 2003: “Prove that the ratio of a circle’s circumference to its diameter is greater than 3.05.” The problem was believed to have been posed as a protest against the dumbing down of the government-mandated curriculum, as elementary school children in Japan were being taught to use 3 as a substitute for pi in some calculations [1]. The elegance of the problem is that test-takers were unlikely ever to have encountered it before and that various creative solutions are, it seems, possible.

[1] https://ja.wikipedia.org/wiki/円周率は3
Yeah, the Web was quite impressive (though we already had the Minitel), but it was Wikipedia that really blew my mind (even though we already had Encarta). (In fact I consider Wikipedia to be the Web's "killer app", even more than Google and other search engines were.)
Maybe Bitcoin works as a decentralized bubble, it pops somewhere and it can comeback again.
I don't believe they have to pick up the phone. They are a virtual company that does get back to people, but it takes time. If we are saying prompt replies are a required responsibility, then how do we tolerate the government's widespread slowness? The document checking and balances are a common thing across industry - documents are checked in automated systems that check the SEC criteria and balances are not instantly updated. Other brokers have these same issues.
Microsoft Teams could help Jackie Weaver brings the troops in line
I dunno, have you ever read a Dickin's novel? "Great Exposition" sounds about right to me.
Good read. Formalizes what Fox News etc. do to everything they spout out.
Latest Stimulus Will Make US Covid Response More Expensive Than World War II
Pardon my ignorance, but how are old dams replaced? Do they build a new dam ahead of it or what? Or do they try to repair what is already in place?
r/AskHistorians - Just what it says, but it is probably one of the best subs on the entire platform in my opinion. And I'm not even a history buff of any kind. It's just super well moderated and has clear rules that get to the heart of the purpose of the sub.

r/fantasy - I read a lot of fantasy novels. This is probably my most visited sub on all of reddit. It's great. They get a lot of fantasy authors to participate and just generally have good discussions. That said, I feel they may be having some growing pains lately as I've found a whole lot of combative discussion lately on some of the more popular authors (like Brandon Sanderson), where someone says they love that author in one post, then almost within the same day a hate post comes up that tries to counter the positive post. It's.... annoying and I sure hope the mods can figure out a good method for stopping this shit as it's super obnoxious. (People, you're free to your opinions, you don't have to tell the world if your opinion is different than someone else's. It's not a zero sum game.)

There's a lot of really good subs out there, some more useful than others, some run by idiots, some have far more effort put into them than there should be.

Edit; formatting, spelling
I don't understand why so many devs seem to want to use Functional programming.

It's the exact same thing to me as what this article is complaining about. Everyone jumping on the latest and greatest bandwagon.

Angular is easy, and OOP is very easy to work with for business needs.
I think “r-word” is a function of stupid text analysis that scans for offensive words. So the fear is that, at some point in the near future, I’ll end up on some stupid regex/nlp-generated list of bigots because it has 100,000 names of people who match the query.

Then people freak out and say the equivalent of “look 95,000 people are terrible and the algorithm can’t be wrong” etc etc.

This is the equivalent of juries and police trusting bad facial recognition code and making my life miserable. While it’s certainly lazy, it’s the path of least resistance to avoid the word.

I believe that there are way more knee jerk, judging idiots than there are people who can code high positive predictive value bigot scanners.
Solving a “Groundhog Day” Problem as a Manager
A recipe for recreating the functionality of Web SQL
Exactly. Take, say, megacorp against mom and pop shop. No-one can claim with a straight face that the case would be equally fair to both sides.
It's not a business model. "No Support Linux Hosting" is a white labeled version of Shanje Inc. which is a small business from Iowa run by 1-2 people which was founded back in 1997, so they truly are a blast from the past. Shanje controls a Class C IPv4 block and they use it to host about 30,000 websites which nets them an estimated yearly revenue of ~$70k. Most of the sites that were impacted are ones you've never heard of like francisdiamonds.com and almuftahrentacar.com, but someone loved them enough to put them online, and now they've all been destroyed. Between hacking and COVID we've certainly seen a systematic decimation of the petit bourgeois. It's a tough time to be a small business owner.
Pricing is calculated depending on various of geomerical parameters - the obvious of these would be volume, weight, bounding box - but it gets more complex depending on the process and material, as well as the local salary of employees in supplier's location.

As a manufacturer, you have your own app that is used as a back office. For example, you can play around with pricing depending on how busy your shop is in a given time.

We vett supplier by working them before and taking them on a test run. Most of our suppliers are used by enterprice companies like IAI, so you can trust us that if you'll get accepted you're in a good comapny :)

In my personal opinion, the biggest advantages to partnering with us as a supplier is that we save significant amount of time on overhead (quoting, payments, communications).
Is there an email we can use to contact you? Or, can you email me at $HNusername at gmail?
Here's how moxie feels about people using PGP.
https://moxie.org/2015/02/24/gpg-and-me.html
This sort of thing is always by turns boring and frustrating to read, because there are good and interesting philosophical criticisms to be made of Foucault's epistemology, but the idea that for him facticity itself is questionable isn't one of them. Foucault is never really in doubt about what constitutes, e.g., an event, occurrence, or fact - actually his entire corpus very self-consciously relies on having a common set of texts that we agree constitute accounts of what happened in a given field of inquiry in a given time period. Foucault's epistemology strongly requires and insists on the objectivity of the archive. He wouldn't be able to make authoritative claims about the historical importance of Kantian representation, or Bentham's pantopticon, if he didn't think the archive of philosophical and scientific writings had some objective merit that wasn't in question. He's emphatically not the moral relativist he's made out to be by low-hanging fruit conservatism like this. What he - and a lot of his colleagues in France at the time - wanted to know was whether the system of interpretations that has accrued around this archive has gotten to the bottom of what our 19th century forebears were really up to when they were, for instance, busy examining the shapes of skulls to determine personality traits.
I hope they're better at running nuclear power plants than they are at running infectious disease labs.
So young and already jaded.

To me the problem with frontend, and why most people I know want to avoid it, is that compared to backend the specifications are never clear, change more often, require a lot more boilerplate and is in general more verbose.

If I look at code I've written, the backend/"useful" code is always fraction of length and complexity of the UI code, no matter the stack (be it gtk, swiftUI, jquery, pure JS or a reactive framework).

UI often requires a lot of custom code because there is always that one bit that the framework doesn't support. An example would be a table displaying some data with metadata. Adding more stuff on the backend is easy, just update your endpoint with one more field in the response. On the frontend it might make each line too large for screens, so now you have to figure out how to place it in a way that fits. Sometimes it may not be as simple as just extending the line a bit.
Not one of those big cloud offerings is human-friendly, until you pay $$$$$ and get proper account manager ;)
I agree that containers are something of a security boundary, as is chroot(). Just not as robust a boundary as an actual VM.
India’s Modi Government Threatens Twitter Employees with Jail
I think it depends on the application. In many cases, encoding/json is fast enough and stable, but I think you can try to use a faster library if JSON encoding / decoding is performance critical on your application.
There are two ways to look at this. One way is to think the article misses these points. The other is to look at the author's background and conclusion and see this as a "content marketing" piece to promote the services listed at the end. The piece has generated many comments and upvotes and I believe quite a chunk of traffic to the funnel. So that's a good outcome.
In most of commonwealth Football is spoken of in the British sense. The American usage of it seems the more insular one, and therefore better deserves to be spoken about with qualification.
> and pay the satellite data using a credit card.

I've never done it. Can you provide a few links I can try?
its amazing how language can obscure and censor basic facts. we can't even talk about it because it "offends" ppl, never mind the Korean immigrants who lost everything during the riots.

the koreans in LA all know the races of the people looting their stores. but the victims of the riots can't even point out the perpetrators and wat community they were from 30 years on.

hint: the looters weren't Asian Americans.
> Perhaps it didn't make much money prior to the hack.

There were significant changes to cPanel licensing not long ago which caused some consternation as it would result in some hosts needing to pay more. IIRC it moved from a per-server model to per-user, with a block of users included in the minimal fee so for small hosts the change had no effect, but for a host like this with many small accounts the extra cost there would make already small margins even more tenuous.

Presumably the little profit still made was better than nothing if the maintenance needed was minimal, but not (for this reason and/or others) large enough to be worth the rebuilding effort after this attack.
In the Java ecosystem there is the PreparedStatement.

ORM isn't required to avoid SQL injections. The two concepts maybe conflated with some frameworks, but they aren't necessarily related.
Yes, as a full stack dev I think the front end is easier than backend.

We joked at my old place that the best thing for a web dev's sanity long term is to retire into SQL
US drops suit against Calif. net neutrality rule, but ISPs are still fighting it
If you'd like it in animated form the latest Kurzgesagt video covers this

https://www.youtube.com/watch?v=Jzfpyo-q-RM
I'm curious, how would you store data about the maps of these worlds? Is there a certain format that's needed? I imagine it couldn't just be a 2D array, or if so, it would need to be a lot larger than a normal map and you wouldn't check all cells.
Ask HN: Does a screen recorder helps in giving code review feedback?
Perhaps things were running in maintenance mode already, and there is no longer the desire to run this part of the business, so they took this unfortunate opportunity to wind things down.
I think the economics of cyber security are poorly modelled/understood at present. I’m of the opinion that building a slightly higher wall than a similar target is generally sufficient (as an economic deterrent) vs most enemies. However, this is a simplistic model and doesn’t account for targeted attacks. It’s a complex problem space and has a lot of room to mature. I expect great changes in this space over the coming years.
One case I find really annoying to write in SQL is inserting or updating entities with several many-to-many relationships. That is just plain annoying to do by hand, so I'd either have to use an ORM or write a small wrapper myself for this.

Reading entities with many-to-many relationships is also often easier with an ORM, though you really have to be aware how the ORM will write this kind of query to avoid issues. ORMs are a very leaky abstraction when performance is concerned.

Another part that is very useful is the query building itself, though you can get that without an ORM. Having composable query fragments is very useful, doing that by hand is extremely tedious, error-prone and a potential security risk if you're not careful.

I'm comfortable writing SQL by hand, but I do prefer to have an ORM as long as I can also bypass it for queries that are difficult or impossible to do with the ORM. But an ORM can't replace knowing how databases work, and they do require you to understand more under-the-hood details than most other types of libraries.
>You can find "X sucks" blog posts for virtually any X in software development. Languages, language paradigms, testing procedures, development lifecycles, hiring practices, management and org structures, support styles, oss licenses.

Yes, and they're all pretty accurate.
Take the test: your technical debt credit score
Which timeline? 1994-2004? They banned a bunch of scary looking guns to save the children for ten years. It wasn't successful. That was my entire point with that -- if I got a detail wrong I'm happy to be corrected.

The mass casualty shooting events aren't going to be affected by the technology solution. In Japan just a couple of years ago a guy walked into a home for disabled people with a sword and killed ten or so of them as I recall. Swords are banned in Japan, along with knives and guns.

In the Tokyo subway not too long ago a death cult released a bunch of poison gas and killed a bunch of people. Again, guns, swords, knives are all banned. We're not talking only certain types of guns are banned, Japan doesn't fuck around -- they banned EVERYTHING. Even pocket knives. Didn't stop people who wanted to kill people from killing people.

Columbine -- they messed up their explosives (fortunately!), but that was the plan on how they were going to hold off first responders and kill a bunch more people. Same thing in the Atlanta bombing as I recall. Information is out there, it's not hard. You can buy the ingredients to make common explosives at Walmart. You can kill a lot of people with a Remington 700 if you want to.

Another AWB (or regulation, or talking about it) isn't going to affect crime in any way. If we want to fix the problem in the US, we ought to be looking at what happened to cause people to think that murdering people was ok. Pieces of metal didn't do that, something went wrong in our culture that did that.

BTW sorry this is like a day after the conversation, every time I type more than two replies in a thread I get rate limited and can't post anymore. This site drives me nuts.
India exploring AI to automate its judicial system
This x1000, I was/am a particularly dense student and the only way I learned was by working loads of problems repeatedly until the “tricks” became second nature. The worst are solutions manuals with hand wavey solutions.
Plus - someone's got to make those robots!

Then we're into the "AI" conversation, where I think the general public think we're a lot closer to AI than we really are... Just because we have 90% reliable speech recognition and it can convert that to a basic google request, and parse some likely results, does not make Siri/Alexa/etc "intelligent".
>Bundle an Open source IME to be used when in incognito mode

Is there a good open source IME? I thought Apple/Google/Microsoft haven't been able to ship a decent one and most people use Baidu's.

> 2. Warn users when they switch to incognito that their IME may still be recording the words they type.

Is a blanket "Your phone might be compromised, we can't help you if it is." warning actually useful? This doesn't really provide the user with any actionable information.

>This isn't just about compromised phones.

This is 100% about compromised phones running malicious keyboard apps.
I've certainly fallen in to the anti-ORM camp, because I know SQL well and at least like to think I can put together a schema better than any ORM can. (I usually can.) However, then my code becomes tightly coupled to the schema, despite my abstractions, which makes it harder to change and basically impossible to unit test.
21st Century Democracy
According to solipsism, there is no "you" that needs to make a proof; that user is just a facet of your own mind. Your self is all that is real.
Yeah. There is an https endpoint, but the page renders wrong for me, so I linked the http one. I didn't look to see if the client login/registration sends plaintext over http.

Edit: It does login over http, plaintext passwords over the wire. Heh.
Anyone knows how imgur is able to afford that ?
So it's London law firm Summerfield Browne (https://www.summerfieldbrowne.com/) who attacked someone leaving a review about their business.

If you're searching for reviews about London law firm Summerfield Browne on Google and are lucky enough to find this post, consider if you want to work with a business that will attack people posting reviews about them. Can you really trust the reviews you might already have read, or are they just suppressing all the negativity?
CD Project Red internal system hacked
Neither is retreating to B2B. Personally I can deal with B2B than with B2C because it's not all about The New Shiny Thing™.

But then you get to integrate with some weird funky SAP extension some company wrote and they can't even configure their web service URLs right.

If you work in IT, you'll have to perpetually fight against people and technology. It's why people hate people who work in IT, because they always say "no".
I don't think it's thorny at all...

If you're quoting a quote directly from a secondary source (like a 'news' article), and that quote has bracketed content, you should retain the bracketed interpretation and cite the secondary source (as the source of the quoteed material) along with the original source themself (as the source of the unbracketed material).

If you suspect the interpretation isn't accurate, you will need to do some digging to either reach out to the reporter to obtain the recording of the original source, or just reach out to the original source themselves in order to hear the same information first hand (which is probably best any way since you could be able to discuss the interpetation with the source directly).

If you don't have the time or will power to do all of that digging, then you're relegated to retaining the bracketed interpretated language and citing both the secondary and original sources since the quoted language is now a hybrid of ideas from both sources, delineated by brackets.
damn this is so sad
Signal seems like a magnet for toxic avengers. It's really unfortunate because every negative interaction has a cost. It doesn't matter how valid what "net4people" is claiming because how they're saying it is unacceptable. The Signal team has its reasons for not adopting their recommendations. That's enough.
You can use a CRM like close.com. They are really good at this. You can connect multiple emails and once connected, you can send email as any one of those emails.
They require identifying all the interaction paths that a user can take through the application so that any function associated with an interaction can correctly update the state of the application's data model. Vanilla JS, HTML, and CSS.
"Features" like that should be opt-in at best.
Panoramic Ventures, with a Capacity of $300M
Good point. I can't blame the UX ppl though for not anticipating some clearing issues, they are after all UX ppl not finance majors.
And now you're presumably much less likely to try applying again, regardless of how well you fit future openings. They burnt the bridge. The equivalent for you would be turning down a job offer with 4-letter words. In many areas there aren't enough skilled candidates for this to be sustainable.
You don't need an ORM for migrations. Tools like flyway and others can rely purely on `.sql` files with some naming conventions and can help keep your app and db schemas in sync.

You also don't need an ORM for security, and an ORM doesn't always prevent you from footgunning. Use query builders, `?` or `:named` placeholders (as your DB driver recommends), and almost never use string operations to build queries. Similarly, grow suspicious of your db or application model if you find yourself having to write increasing amounts of SQL to appease your ORM.

ORMs are a tool. Neither good or bad on their own. Many applications outgrow them, or they don't properly refine their object models as the db or application changes. Lots of applications hold on to the security blanket of their ORMs for far too long, or they let the DB objects proliferate very deeply into their stack such that changing the db or the app model become nearly impossible. This is when apps increasingly try to outsmart the ORM, creating massive amounts of tension and friction in doing even simple things. (As anyone who has tried to do large-scale migrations or backfills that weren't possible in raw sql will tell you.)

Learning to recognize all this is above the level of "amateur", but it seems like you've already learned to identify some of the good that the tooling can provide.
As an American o had the exact opposite impression -- every European company I've applied to has requested one. Interesting to see that it was just an outlier experience (and I suspect your experience was the same)
Can't say for other industries, but in tech in the US at least (and not just at actual tech companies, but other, more conservative/traditional non-tech companies too), it seems cover letters are not required or expected at all.
I disagree. As long as you use prepared statments and bounded parameters, your application is safe from SQL injections. NEVER use string concatiation to generate any SQL queries - not in your app and not in your database! Its unsafe and slow.
https://security.stackexchange.com/questions/15214/are-prepa...
Well I hope they implement some good caching
The DNA of American Conspiracy Theories
What do you end up doing, then?
Complete tangent, but I am currently listening to the excellent "Age of Napoleon" podcast, and the host suggests that the abolition of the calendar by Napoleon was (a) basically ratifying what was already widely done in society and (b) a symbolic guesture to assuage conservatives and catholics.
This talk was posted in that thread https://youtu.be/2D9ExVc0G10
> What is clear, is that this is a vulnerability. Circumventing blocks tends to be illegal. If we want to help people circumvent such blocks, we need to help them from being caught as well.

Nah, circumventing a block doesn't imply obfuscation of any kind. Signal's normal server connections are not obfuscated, there is no reasonable expectation that a connection to it via a proxy would be, either.

It seems like people are considering this a vulnerability because accessing Signal (via a proxy or otherwise) in Iran is illegal (as I understand it).

It doesn't seem like people would view this as a vulnerability if that weren't legally the case, so I don't think that points to this being a vulnerability in the software.
A more accurate title for this thread might be “jbulluck wishes he had taken backups of his website.”

Classic response :)
Personally, I think ORM has a reasonable use case here, but I also find doing this using SQL to be straightforward and easier to reason about during future refactors.

Take a look at JDBI's Repository pattern for a simple compromise between SQL and ORM for this use case in particular.
Are you trying to game SEO here?