Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
onei
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
211.
▲
by
onei
7y ago
I don't disagree with the overall point, but I'm not sure a non-developer would have a need to understand the specifics of how a task is automated. In theory, the automation is built off a defined process already which should be r
212.
▲
by
onei
7y ago
Ideally, the automation is available and can be read through to divine the steps it is taking to perform the task. As for the thought process, pray that the author left behind hints whether that be in the form of comments in code, descripti
213.
▲
by
onei
7y ago
Ah yes, thanks for the correction :)
214.
▲
by
onei
7y ago
That's technically correct, but NTPv4 has the concept of eras [1] which gets incremented when that number would normally wrap. [1] https://tools.ietf.org/html/rfc5905#section-6
215.
▲
by
onei
7y ago
If you store time as seconds since the Unix epoch (1st Jan 1970), you'll overflow a 32 bit unsigned integer in 2038 (around March iirc) and time will suddenly be back in 1970 again. I believe the Linux kernel did some work to circumven
216.
▲
by
onei
7y ago
From what I can tell, Xerox PARC didn't exist until 1970 and apparently used Smalltalk, which was after BCPL in 1967. I don't doubt you're correct, so do you have any links for earlier bytecode examples?
217.
▲
by
onei
7y ago
I believe you're correct about Open64, but it was an interesting examples of a compiler when I was researching them last, particularly its usage of WHIRL [1]. It's a similar approach as used by GCC and LLVM with their front, middl
218.
▲
by
onei
7y ago
Why is compiling to LLVM bytecode insane? Compiling to bytecode and then working with a simpler language has worked for decades since the introduction of BCPL. It's also the approach used by Open64, where you compile to WHIRL which is
219.
▲
by
onei
7y ago
It's more complicated than that. MediaWiki is PHP based because back when it was developed PHP was everywhere. Since then the world has moved on, but PHP still powers a huge percentage of the web via things like WordPress. The other si
220.
▲
by
onei
7y ago
I read that as: if two dicts are constructed in the same way and use the same python implementation then they'd be the same. If you change the way the dicts were generated or the underlying implementation then they're not the same
221.
▲
by
onei
7y ago
I was under the impression python dict ordering was deterministic, just not in an order recognisable by humans, i.e. ordered by hashes. Was this not the case?
222.
▲
by
onei
7y ago
Turns out a PWA works in Firefox too [1] so I'm not sure it's entirely necessary to force a user to install a browser just for your app. Edge is/will be chromium, so I guess Safari is the only major browser to worry about? [1
223.
▲
by
onei
7y ago
I call it a lack of curiosity instead of a lack of imagination. Both are useful, but to me imagination is more about coming up with new solutions than understanding how something that already exists can be bent to your will.
224.
▲
by
onei
7y ago
It's kind of curious coming out of university where I learned about doing requirements properly and up front (which I suspect kind of tends towards a waterfall approach) then comparing that approach to my work now. Project managers con
225.
▲
by
onei
7y ago
It depends on the compiler. A naïve parser might reach a syntax error and error out. A more advanced parser will look for a synchronidation point that it can move to and carry on. If the compiler is in a statement, that might be a semicolon
226.
▲
by
onei
7y ago
I tend to run ansible to setup a VM, e.g. a few packages, lock it down to my taste, and then have ansible run docker-compose to deploy the application(s) of interest. You wouldn't use docker to manage the host networking (which is wher
227.
▲
by
onei
7y ago
Not really. Let's imagine students live off campus and commute in each day. If they have lectures at the start of the day, then you'll get a space. But if you have one lecture at 3pm on a given day and don't elect to spend th
228.
▲
by
onei
7y ago
From what I recall when the first collision was proved it was with a PDF which is easier to craft a collision from. I also seem to recall that the collisions were from hashes of the whole file. The dedupe engine written where I work chunks
229.
▲
by
onei
7y ago
If you can get a working ISO, virtualbox will run it. Hardware doesn't tend to care what's running on it, virtualized hardware is no different.
230.
▲
by
onei
7y ago
It's technically correct, but they tend to come attached to a baby :)
231.
▲
by
onei
7y ago
You can use the Error trait [1] from the stdlib, implement it for your error types and then just use the trait in your Result. That way you don't need the types to match and you can convert between then as needed while adding the previ
232.
▲
by
onei
7y ago
It was refreshing to get a notice about cookie settings which when ignored, accepted or rejected remained readily accessible (on mobile at least). Normally, you get to reject setting once and then it vanishes meaning you can't update y
233.
▲
by
onei
7y ago
I'd say there's 2 main groups of people - those that have been there 20+ years and aren't likely to leave and those under 30 that started as grads or interns and have been there a few years. I don't consider myself parti
234.
▲
by
onei
7y ago
I think the sticking point is finding small tasks that are meaningful. You can generate that sort of thing for someone doing a 2 week placement, but I think it'll be tricky for much more than that given the nature of the work we have a
235.
▲
by
onei
7y ago
We're not big bloggers if I'm honest. Everything we do is closed source, corporate and targeted at enterprise. Maybe it'd be nice to do, but it's just not the culture we have in the office.
236.
▲
by
onei
7y ago
The company I work for is about to take 2 software engineering apprentices for the first time. As far as I can tell, we're not equipped for teaching any theory and as CompSci for under 18s is fairly uncommon in the UK, it's unlike
237.
▲
by
onei
7y ago
Why would a Linux package manager support Windows which has its own very different package format? I can't ever recall installing a Windows package that decided it would go and download some other dependencies - or at least not transpa
238.
▲
by
onei
7y ago
In theory, both GCC and LLVM take a front-end (in this case rust) and compile it down to an intermediate representation (IR). There will likely be some differences between the output from a front-end, but after successive optimisations have
239.
▲
by
onei
7y ago
It's true that if you create a perfect fork that search engines will punish you and not even display the results, but that's not to say you can't change that. If the edit-base of a wiki moves with the fork (and this is essent
240.
▲
by
onei
7y ago
I can't see an Electron based Excel appearing. Excel is pretty much the best spreadsheet application that exists in terms of performance. Using Electron would likely kill that to the point that no one would use it. The browser based ve
More ›