skysight-inc/HackerNews huggingface dataset:
I think my first experience with an optical mouse was on a Data General unix workstation around 1990 or so. It needed a special pad; the pad was metal and had a grid pattern on it. The mouse was somewhat less responsive than ball mice at the time.
Link to a file that actually contains said license: https://github.com/timescale/timescaledb/blob/master/tsl/LIC...
I agree with that sentiment. Concatenating strings is miserable and error-prone, especially for highly dynamic queries.

But there's still another step between a full-blown ORM and a query builder, where you still define the models and the relations between them, but fall back to a plain query builder for constructing queries. That way, you're not dealing with plain arrays, etc., but you're still essentially writing SQL. Like Objection.js[0], which is built on Knex.

[0] https://vincit.github.io/objection.js/
Police are supposed to be the most powerful gang, the one which is paid by your taxes to protect you from any criminal activity and eliminate any competition.
So according to your idea, a politician who would not flag many bad boxes while getting a few common issues nailed down would be a winner?

Unfortunately, this is not what we see. We get politics playing to respective power bases and not the actual electorate as an aggregate, and politicians that are a reflection of these power bases and not electorate.
Some notes:

This kind of device depends on a clear night sky, the same way that a solar panel depends on a sunny day.

Also there is some precedent for devices that use the cold of the night sky to freeze water and then use that for refrigeration. The trick is getting good thermal coupling to the sky and also eliminating coupling to the rest of the environment.
And there is more:

* you don't have to use HQL, if you pass `nativeQuery=true` in the @Query annotations you can write standard SQL instead of HQL.

* You can add an AccountRepositoryImpl Bean so you have a class in which you can inject dependencies like JdbdTemplate for full JDBC database access.
... which is what the systemd code actually does. The problem is that there appears to be a possible AMD processor state, caused by suspend+resume, where the instruction succeeds but the data returned are not in fact random.
Campaigns should be finding ways to work with professionals from the cybersecurity sector, not looking for ways to bolster defenses on their own. The adversaries these groups face far exceed the norm when it comes to industry standards––your security admin from off the street is going to be no match for a well-determined government. You need seasoned professionals who have background across active incident response, defensive efforts, intelligence and general best practices to even stand a chance.

People who match the description above don't need to be found as much as they need a point-of-contact to campaign staff. Many of us are more than willing to dedicate the time and resources needed to advise those who wish to take security seriously, free of charge. The issue lies in the shared opaqueness of the two parties that must come together; neither know quite who to contact and both are unsure how to engage. We should not let a lack of understanding get in the way of protecting our (anyones really) election process.
I alias 'ls' to 'd' when I'm setting up an environment.
We are actually doing a fair bit to address larger use cases. We also had customers who are doing 100s of billions of points successfully, so I guess it depends on what you mean by larger.

As our CEO mentioned in a sibling, we are working on a horizontal/scale-out solution for even higher ingest rates, as well as sharding. We're also doing some work for better compression to reduce our disk footprint.

Also since 1.2, we have support for automatic retention policies that help keep the disk usage in check. Yesterday we released 1.3, which contains our first iteration of continuous aggregations that let's you materialize aggregates over the raw data for faster querying. In a future iteration, we'll also allow you to remove the underlying/raw data but keep the aggregates -- another way to improve the disk usage of your data.

All that is to say we do consider ourselves useful for larger use cases, and have a lot of features coming down the pipe to make it even better.
The Amazing $1 Microcontroller (2017)
I saw this with a partner. She was extremely agreeable and would compromise her own sleep to make time for others. I suppose that doing this over time adds up and extracts a toll.
I'd agree with you if the "everybody's judging everybody" would be an accurate way of putting it. There's a lot more judging done of Israel than of other countries. If the judging would be comparable between cases, then yes, but regardless of what Israel does it will be judged poorly. So the hell with them in that Hamas office that is no more.
The real article should have been, "Is the liability limitation clause enough?"
I don’t think the kernel people have reverted their ZoL-hostile changes, if that’s what you’re asking about.

That said: ZoL works with Linux 5.0, but AFAIU that’s due to ZoL falling back to less optimal code. I know it works because I run both on my laptop.
well said. I feel like doing an overnight trip with someone (like a camping trip or a roadtrip) generates strong bonds with people you would otherwise not know that well. But it only takes a few months to a year of little to no contact for friendships to disintegrate.
Only a benevolent dictator could make that decision. As it stands people who already have more than they, plus several generations of their progeny, need make that decision.

The owning of more stuff has contributed to an accelerated carbon cycle and the untimely advance of a major global extinction, likely rendering humanity extinct.

Source (book): https://www.harpercollins.com/9780062364807/the-ends-of-the-...

Hn says I'm posting to fast, so that's it from me. Which is ironic because knowing this will happen causes me to want to invest less in each post, rather than more like the Hn guidelines say to do in conversations like this.
Yeah I raised an eyebrow at that as well.

IIRC in 1999-2000 I had a Geforce 256, 128Mb of RAM and an overclocked Duron.
Can normal people (like me :) support the effort of invest?
Personally I think an active record style ORM for Go like gorm is a poor fit for a language that doesn't come across as inherently OOP. Going through some of the documentation for gorm, it seems to rely heavily on method chaining which for Go seems wrong considering how errors are handled in that language. In my opinion, an ORM should be as idiomatic to the language as possible.

I've used sqlx[1] before, and it feels pretty idiomatic to Go. You tag your structs with their respective database columns, write up a query, and hand it to sqlx to perform the deserialisation of the data. I've also come across squirrel[2] too, though I haven't used it, it does look rather interesting.

[1] - https://github.com/jmoiron/sqlx

[2] - https://github.com/masterminds/squirrel
Yeah you’re right, poor wording on my part. Agree.
You forgot to add an index on tags.name and null constraints on the rest of the columns.

> from there it's just regular rails

That's the problem. Examples like this focus on the first few minutes of development. Not the subsequent years of maintenance.
Re-Sampling: Results and Applications
(wasm-flate) Worlds fastest compression in the Browser
Parrot Virtual Machine/Run Core and Opcodes
That is an average. On a good day you can write 100, but then you need a week and a half to figure out how to write the next line. New projects are easy, I can write 500 a day for several months before I get to those last hard features that slow me down to 1 a day for a while.
> . Bureaucracy, analysis paralysis, no automated testing, accidental complexity, tech debt, poor retention of experienced developers, poor compensation resulting in sub-par hires, insufficient training and mentoring for new hires etc etc.

Most of these look like MBA problems.

That said, maybe more experienced coders should be doing MBAs (which isn't just about attending classes but about networking, acquiring a wider shallower knowledge base etc) so the dynamics of tech debt are clear to people who are in charge of making debt decisions.
Oh my stuff is long gone.

I just would like to know who robbed and how it happened. I’d like to know that a policeman somewhere took 1 hour of their day to walk over to the video room and watch me being robbed so they can tell me: that’s how it happened.

Unfortunately I didn’t have insurance, I was on a weekend trip visiting a nearby country in Western Europe.

What irks me the most is the sense of injustice I feel. The arrogance with which I was treated, when I explained what just happened to me the police officer said: “this happens all the time”.

When I asked: “if it happens all time what are you doing about it?”

“Nothing you can do”

“Actually you could watch the security footage from 5 minutes ago.”

“We can’t do that.”

It’s very humiliating to be treated like that by police.
So they're vacuuming up things that are good...and ruining them...great.
I see this everywhere when one person doesn’t see the value in the work they’re asking for. It’s not that it takes 4-5 hours instead of 1, it’s that it costs more than they want it to cost, because they only see the output and not the process.

Same as you get with designers and artists when a client cheaps out and says their 4 year old kid could do better, or they’ll pay in something other than money.

I don’t think explaining it works. I think that’s almost empowering them because they’ve put you on the defensive, justifying your time and expense when it needn’t be justified.

Better to get them into the habit of managing their expectations instead of trying to people please.
Lovely that a simple device stood the test of time like that :) polished plastic is often great (except on thinkpad keyboards).

Also it's fun to see that 128MB to me still feels more impressive than 48GB
Why is everyone shitting on btrfs in this thread?
> transfer the iphone5 data+ apps to my new phone

Just ... sign in to iCloud? To "do this for you", you'd be giving them your credentials no? Seems like an unfair complaint.
What's the use case where you need 'ls' to be fast?
Show HN: Browser-based digital signage
Apple blames Intel for poor Mac sales – so why doesn’t it just buy AMD?
And 10 years later, people ad-hoc invent a solution to the time zone problem:

"Let's meet at 3pm Comedy Central time."

"Wait, I usually use Discovery Channel time, when is that?"
> Sounds like a hiring problem.

Yes, but not the way I think he’s thinking (and maybe not the way you’re thinking either). If you were actually in a room with him and said, “ok, let’s just walk in there right now, fire these clowns and replace them with somebody better” he’d immediately hold up his hand and say, “but I can’t find anybody better…”. So yes, it’s probably a hiring problem but the problem is that he’s putting unreasonable expectations on the people he’s hiring.
Withings (ex Nokia) is selling mats that you put under your sheets and where you lie on. I think Apple does, too, but only in America.

That's probably the best device for home-use. But sleep labs are using EEGs, cameras, microphones and puls oxymeters for a reason. Don't expect medical-grade results from a home-use device.

Less accurate are several kinds of fitness trackers/smart watches, very inaccurate are smartphone apps.
Ideally we'd only light the sections where people are at the time but lacking that the crime lowering effects are worth it.
I stayed close to what the author did.

adding an index:

add_index :tags, :name

adding a null constraint:

change_column :tags, :name, :string, null: false
validates :name, presence: true # for proper validations

https://github.com/localhostdotdev/bug/commit/3765237008c36c...
> Nobody is talking about denied anything. This is about speed and priority.

Take this example:

I show up in a store at 1200, and am told the waiting time is approx 30 minutes. I wait in the queue.

Another customer shows up in the store at 1220. This customer is more well-dressed than I am. This customer also waits in the queue.

At 1230, the more well-dressed customer is chosen to be serviced before I am, a customer who has been waiting for 30 min vs the other customer's 10 min. I have just been denied customer service in favor of the other customer, no?

I don't mean to make this a long, drawn-out conversation. I'm just looking for clarification.
Rails is also fine to maintain down the road. Certainly easier than any data layer most engineers would make by hand.
Actually, what you have done are both ORM. So the question is "To ORM with an external library or hand made ORM".
Normally I would be inclined to agree with you but the article specifically says: "The research has some important limitations including ... the subjective measure of sleep being based on time spent in bed rather being asleep per se"
Have you ever tried it? Your coworkers are right. It also helps you avoid common mistakes like SQL injection. When the ORM doesn't work for a specific case, they usually have ways where you can override the ORM and use your own SQL calls. Virtually every major, popular ORM does this across different languages (can personally confirm with Ruby, Java, & Python ORMs - confident that JS ones support it too).
Is this an indirect response to something in the article? Serious question.
ZFS is OK I suppose, but it isn't native. So you have to jump through hoops to use it, just like Nvidia binary graphics drivers.

BTRFS works well. I've used it for a NAS since 2012. It started with two mirrored 2 TB WD RED drives. Since then it's gone through an expansion to 6 drives in RAID 10 and two drive failures and replacements. Pretty decent performance and never a serious problem.

I've also used it on two laptops with SSD. It had some weird edge cases there using Docker with a lot of snapshots and running out of space for metadata. Unlike some people, I found it pretty straight-forward to recover by adding more space using either a USB drive or reusing my swap partition.

BTRFS snapshots are easy to do and great for backups and Docker image layers.

I felt the need to write this because your comment got three or four anti-BTRFS responses, and BTRFS has always been good to me.
"Back Mechanic" is his book most aimed most at "normal" people (i.e. neither athletes nor medical professionals)
BINGO... X-ring.

I OWE you, dude.
The sound thing is a real issue. The Apple store by my parents moved into a larger and renovated space recently with double the height ceilings. It got way louder, to the point where you can barely hear what the reps say to you. I'd have a migraine every day if I had to work a whole shift in there.

It's the same problem in restaurants and bars that have this style of concrete floors, hard walls, and exposed duct work ceilings: there is nothing to absorb the sound. When people stripped drapes from windows, carpet from floors, and coverings from ceilings, no one stopped to think why these sound absorbing materials were used in the first place. You can fix this by spraying sound insulating foam all over your beautiful exposed ceiling that no one looks at because it's dusty and painted black and 20 feet in the air, but that's clearly a cost that's already been calculated and cut.

As a result, you can't hear anyone at breakfast, brunch, lunch, dinner, the bar, the gym, or even the Apple store.
Can someone be genetically blessed with not requiring 8hrs sleep?

How much sleep do we need and why?

A friend of mine is a security researcher and he has been awake for one entire week by napping barely 10min for the full week
Even later - I own a Mac and a PC version of these mice - the earlier ones were actually serial mice.
Fortnite is quite popular, I hear.
> people support their team, for no rational reason, but just because they are fans of that team

You do realize that to be able to treat politics like a game and root for a team for no reason means you must be so socioeconomically privileged and insulated from the consequences that it doesn't matter what decision is made because it doesn't affect you.

Do you really think this is the case for most people in the US?

I can't vote Republican because their openly stated policy goals would wipe out my ability to exist. I would really like for my vote to be more nuanced but when I'm given only given two choices...
>"Mostly for the better" does not imply totally for the better. Of course you can find counterexamples, but that totally fails to answer the point. If you want to actually argue the point, you need some statistics about the economy as a whole

Really? Lets look at the context;

>'Lots of things are changing because Trump doesn't follow the "experts" but have his own way of approaching China for better or worse. Right now mostly for the better.'

How would looking at the economy as a whole reflect on the way Trump approaches China? If I want to keep to that subject, I look at the situation with the sectors of the economy being impacted by the trade war with China and not the economy as a whole.
Answer to the question price tag and service!

OBS: Now I open up regular notebooks myself and fix them when I need to do so. No need to pay to repair or pray for someone with MacOS to help anymore, I'm my own service now just spend on parts yay!
It'd be interesting to see how train companies perform. They publish stats based on destinations. I take train to work and so it happens that it also goes to the airport. If the train is delayed more 10 min, they'd cancel smaller stations and go right to the airport. I wonder how this gets reflected on their stats of which I'm very skeptical to start with.
It seems pertinent to mention "laser" in the title. My initial thought was "so what? Missile defence is nothing new."
I'll give a quick plug for hyperfine [0], which makes running a series of benchmarks really easy.

[0]: https://github.com/sharkdp/hyperfine
no orm. just jooq it.
FWIW https://medium.com/incerto/iq-is-largely-a-pseudoscientific-...
View your top artists and songs on Spotify
> it takes months of looking at existing code

All the while listening to management say, “this should be a one line change, why should it take more than a few hours?”
What? Care to elaborate?
The real third approach is that you can safely pretend the database is object-oriented for manipulation and simple lists and still use SQL for complex queries. Most ORMs let you safely mix and match both methods easily.

This ORM or not ORM is the wrong question. Use an ORM to save you headaches where it's appropriate and use direct SQL when it's not.
You bring up possible implications of altering the system, but there's really no way to know without experiments. And with a system as unique as the 2019 United States, we cannot reliably look to other countries or other eras to give us natural experiments.
SEEKING WORK - Boston, REMOTE

I'm a software engineer with 15 years of experience in various areas including graphics, image processing, GPU programming, and performance optimization.

Technologies: C, C++, Python, CUDA, Common Lisp

Email: info@nathan-weston.com
Web site: https://nathan-weston.com
This sounds really cool, but where am I going to find someone who already knows it to play my first game?
In other words, the wages of hustle are death.
If it's language that has byte-code like java or .net you might be able to decompile the production binary.
Note: I registered the domain for convenience but I did not make the website itself. Unfortunately I can't proxy the whole thing over a HTTPS connection because the Spotify OAuth just sends you back to the direct IP. If you're the creator of the website and you would like me to transfer the domain to you let me know.
The entirety of cpython’s runtime is exposed as a C api, so you can easily manipulate python objects in c or any language with a ffi. boost::python provides a c++ wrapper for cpython, which can be used to call both c/c++ in python and vice versa
A city spending energy on lighting should have nothing to do with crime. It should only be considered when dealing with car driving safety.
Want to reduce crime drastically in a city, legalize all drugs.
> a conventional programing language for distribution to traditional cost effective hardware.

In 1984, C was considered a new programming language. The VAX first came out in 1977, and the Sun 1 in 1982. Traditional hardware in 1984 would be an IBM mainframe.
I really don’t understand why this is being flagged. Bias and police brutality is a life and death issue affecting millions of people, not only black people in America but other marginalized groups including those with developmental trauma aka mental injury. This particular article refers to an incident where the use of technology (citizen cell phone recording) could have played a major role in a legal outcome. I could not think of a more appropriate topic for conversation on HN.

The issue isn’t that all cops and police departments are bad/can’t be trusted. The issue is bad cops and the system that allows them to abuse their power with impunity. The more this is discussed, the higher chance of changing the police culture and helping many, many real people not live in fear of death or total dehumanization during a traffic stop gone awry.
I agree mostly. I do like C#/LINQ based ORMs because as the name implies - it is integrated into the language and the “ORM” is treated like a first class citizen and it separates the query from the provider that translates it the destination. But even with LINQ, when you get into complicated queries or you have to do a left join, the syntax leaves a lot to be desired.

Also, it can get obtuse when you try to take advantage of any of its complex features.

I will never choose a real ORM for a green field project. The most I will usually want is something simple that takes in a SQL query and projects the result onto an object without all of the overhead - a Micro ORM like Stack Overflow’s Dapper.

And I agree, by the time you create DTOs and add attributes and the entire ceremony around ORMs. It really doesn’t reduce the boilerplate.
But this is affecting other countries too.

China/US trade war have cost some Europeans their jobs. Next time they are out to buy a car, do you think they will choose American?
We had an optical Mouse Systems mouse for our Mac Classic in the early 90's, they weren't exclusively the domain of expensive Sun machines.